Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Failure to boot into Ubuntu (wubi)

  1. #1
    Join Date
    Sep 2012
    Beans
    7

    Failure to boot into Ubuntu (wubi)

    Hi there

    I recently installed ubuntu using wubi. Everything was going fine until I edited my /etc/default/grub file by adding radeon.audio=1 to the GRUB_CMDLINE_LINUX variable because my HDMI sound wasn't working.
    When I unplugged the HDMI cable the screen went black and stayed like that. I then restarted my laptop and attempted to boot into ubuntu without success.
    Resarting and trying a few times ended with different screens, one was blank, and sometimes I would get into the grub prompt.
    I couldn't boot from the grub prompt following these instructions either http://ubuntuforums.org/showpost.php...7&postcount=33

    I have tried four fixes to date in the following order
    1. Replace the wubildr with a new file, didn't help my problems

    2. I have tried solution #2 from: http://ubuntuforums.org/showthread.php?t=1639198

    Code:
    sudo mkdir /media/win 
    sudo mount /dev/sda1 /media/win
    sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
    sudo cp -p /media/win/wubildr /media/win/wubildr.save
    sudo cp -p /media/win/ubuntu/winboot/wubildr /media/wi
    3. I have tried solution #1 from the same link which causes the following on booting into ubuntu "Failre to load_video" "Could not load /lib/modules/3.2.0-24-generic/modules.dep"

    Code:
    sudo mkdir /media/win 
    sudo mount /dev/sda1 /media/win
    sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
    sudo cp /mnt/boot/grub/grub.cfg /mnt/boot/grub/grub.cfg.copy
    sudo chmod +w /mnt/boot/grub/grub.cfg
    gksu gedit /mnt/boot/grub/grub.cfg
    Remove all lines in the file from the start of the file up to, but not including, the following menuentry
    Code:
    ### BEGIN /etc/grub.d/10_lupin ###
    4. I have used boot repair the output of which is here:
    http://paste.ubuntu.com/1212958

    I am at a loss as I have never used Linux before.
    I don't have any important info on my ubuntu is it best to re-install and try a partitioned install? But then how do I get around the problem of Radeon not being recognized?

    Thank you for your help

  2. #2
    Join Date
    Nov 2010
    Beans
    129

    Re: Failure to boot into Ubuntu (wubi)

    You could try reverting your grub file to its previous config :

    Code:
    sudo nano /etc/default/grub
    and remove the line you added before your troubles began ,
    Code:
    sudo update-grub
    But at this point I fear it would be more like a shot in the dark .
    Last edited by blade4; September 20th, 2012 at 05:15 AM.

  3. #3
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Arrow Re: Failure to boot into Ubuntu (wubi)

    Hello

    You can try to fix your Wubi like this:
    Code:
    sudo mkdir /media/win 
    sudo mount /dev/sda1 /media/win
    sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
    gksudo gedit /mnt/boot/grub/grub.cfg
    Remove the 'radeon.audio=1' occurrences, then save the file.
    Reboot the PC, and tell us if you can boot Ubuntu. If yes, you will need to recover, from the WUbi session, the /etc/default/grub file.

    Anyway, I don't recommend using Wubi as it is less reliable than a normal install. Please consider using a standard Ubuntu install instead of Wubi.

  4. #4
    Join Date
    Sep 2012
    Beans
    7

    Re: Failure to boot into Ubuntu (wubi)

    Thanks blade4, unfortunately when I do that the line I edited is no longer there. I'll try yannubuntu suggestion now.

  5. #5
    Join Date
    Sep 2012
    Beans
    7

    Re: Failure to boot into Ubuntu (wubi)

    Thanks yannbuntu but when I run

    Code:
    sudo mkdir /media/win
    sudo mount /dev/sda1 /media/win
    sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt
    I get the error
    Code:
    /media/win/ubuntu/disks/root.disk: No such file or directory
    I have made doubly sure that I have entered the right commands...

    Edit1:
    Ok, so it turns out that the grub folder was in sda3, is this going to be a problem? And how do I recover the etc/default/grub file from the wubi session?

    Edit2:
    When I reboot I came up to the grub prompt screen but I cannot boot into ubuntu this way as I get file not found errors when running

    Code:
    insmod ntfs
    set root=(hd0,2)
    loopback (loop0) /ubuntu/disks/root.disk #errors at this point#
    set root=(loop0)
    linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
    initrd /initrd.img
    boot
    Last edited by direwolf6; September 20th, 2012 at 03:26 PM. Reason: Update

  6. #6
    Join Date
    Sep 2012
    Beans
    7

    Re: Failure to boot into Ubuntu (wubi)

    Now when I reboot I cannot boot into windows 7 when I previously could and get this error "an error occured while attempting to read the boot configuration data". Now I cannot choose to boot into ubuntu either. I have the windows installation DVD but that does not recognise my C drive when I try to repair using bootrec /fixmbrn from the command prompt.

    What can I do from this point? Can I fix windows using the ubuntiu cd?
    Last edited by direwolf6; September 20th, 2012 at 03:35 PM.

  7. #7
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Failure to boot into Ubuntu (wubi)

    Quote Originally Posted by direwolf6 View Post
    /media/win/ubuntu/disks/root.disk: No such file or directory
    That means you haven't checked where your Wubi was.
    Please indicate your Boot-Info URL ( https://help.ubuntu.com/community/Boot-Info )

  8. #8
    Join Date
    Sep 2012
    Beans
    7

    Re: Failure to boot into Ubuntu (wubi)

    Boot info report is here:
    http://paste.ubuntu.com/1212958

    Thanks

  9. #9
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Failure to boot into Ubuntu (wubi)

    ok. Your Wubi is on sda3, not sda1.
    So please replace sda1 by sda3 in the procedure I gave you previously.

  10. #10
    Join Date
    Sep 2012
    Beans
    7

    Re: Failure to boot into Ubuntu (wubi)

    Hi Yann

    I have repeated your steps using sda3 but that did not help. I now cannot even boot into windows. When I restart my computer I get the message bootmgr missing. When I boot using my windows installation disk there are no drivers present only the xdrive so I cannot even do a complete reinstall.

    What do you suggest now as a way to fix everything? I just want to start again from scratch. I am worried I have just broken my new computer!

    Update: Changing my SATA from 'Intel Response Technology' to 'AHCI' let the disk partitions show up. I am now reinstalling windows 7.
    Last edited by direwolf6; September 22nd, 2012 at 03:31 AM. Reason: UPDATE

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •