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

Thread: Gnu Grub version 1.97 Beta4

  1. #1
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Gnu Grub version 1.97 Beta4

    9.10 installed wubi with XP fails login, leads only to grub terminal (sh:grub>) with blinking cursor. Tab gives a list of possible commands; "boot" gives an error message: no loaded kernel.

    I need to somehow get data (pictures) out of the home folder before reloading Ubuntu, maybe a different version.

    Any ideas how to retrieve my data before reloading? and any recommendations on which version to replace 9.10 with? and is wubi the best bet? I don't want to dump Windows altogether, because in the present instance, it saved my butt. I use the computer (Asus laptop) for lectures when I teach. I suspect a bug introduced by recent update of 9.10.

    Thanks in advance, folks...

    Rockcarver

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Gnu Grub version 1.97 Beta4

    Does your windows boot or did the wubi install bug install grub to the MBR?

    how to fix those Wubi installation breakages without going crazy Rubi1200 Dec 2010
    http://ubuntuforums.org/showthread.php?t=1639198

    Wubi's most recent versions do have a bug, with fixes posted above. But the purpose of wubi is to give Windows users an easy way to test Ubuntu beyond just a liveCD. They then can easily uninstall since it is only a file inside the NTFS windows partition.

    http://howsoftwareisbuilt.com/2009/0...o-wubi-ubuntu/
    Agostino: Wubi actually wasn’t designed to do long-term installations. The main aim was really to let people try out Ubuntu with confidence. Normally, users that start with Wubi tend to upgrade to a full installation to a dedicated partition at the next release cycle.

    How-to: Recover files from Wubi install with LiveCD
    http://neosmart.net/forums/showthread.php?t=5004
    [Script] Mount Wubi Disk from Linux mount old wubi in new install
    mount ntfs partition first:
    http://ubuntuforums.org/showthread.php?t=1037874
    mkdir /mnt/windows
    mount -o loop /mnt/windows/ubuntu/disks/root.disk /mnt/ubuntu

    http://wubi-installer.org/faq.php
    https://wiki.ubuntu.com/WubiGuide#Ho...nstall%20Wubi?

    HOWTO: migrate wubi install to partition - bcbc
    http://ubuntuforums.org/showthread.php?t=1519354
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Gnu Grub version 1.97 Beta4

    Wow, Thanks, Oldfred, a lot of things to try! I will go through them and let you know what works. I tried working from the CD, but it generated an empty home file instead of giving me access to my old home file. I hope it did not replace my home file with pictures with an empty one. My main concern, of course, is recovering the data; then I can decide what and how to install.

    Rockcarver

  4. #4
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Gnu Grub version 1.97 Beta4

    Oh, I did not answer your question: Windows boots OK. I am using it now to visit the Forums.

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Gnu Grub version 1.97 Beta4

    The liveCD is a Ubuntu system with its own /home. You have to mount or chroot into other systems to see them. Most you can just click with Nautilus the file manager, but I think the only way to get to wubi, is to mount both the windows partition and then the wubi folder loopmounted inside it. Then you should see a full Ubuntu install and have to drill down from filesystem, /, then home.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Gnu Grub version 1.97 Beta4

    OK, I am using these instructions which were in one of the links from you:
    1. In the Ubuntu setup program, select the preferred language you use, then select the "Try Ubuntu with No Change To My Computer" option.
    2. Once at the Ubuntu desktop, in a Live session, open up Applications->Accessories>Terminal.
    3. Now run:


    sudo fdisk -l
    sudo mkdir /win
    sudo mount /dev/sdxy /win
    sudo mkdir /vdisk
    sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
    where the "x" and the "y" in "sdxy" is replaced with the correct HDD letter (starting at a of course), and the correct partition number (starting at 1), of the Windows partition your Wubi install is on. The first command will have given you the location.
    Once running those commands, open up Places>Computer>Filesystem>vdisk, and you should find the contents of your root.disk in there. Now you can backup your data to external media, and reinstall Ubuntu with Wubi if you like.


    sudo fdisk -l gave this result:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    129 heads, 4 sectors/track, 605778 cylinders
    Units = cylinders of 516 * 512 = 264192 bytes
    Disk identifier: 0x4592a56d

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 198450 51200098 7 HPFS/NTFS
    /dev/sda2 198451 605776 105090108 f W95 Ext'd (LBA)
    /dev/sda5 198451 605776 105090106 7 HPFS/NTFS

    Disk /dev/sdb: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xa4b57300

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 14593 117218241 7 HPFS/NTFS

    My attemps at the other commands:

    ubuntu@ubuntu:~$ sudo mkdir /win
    ubuntu@ubuntu:~$ sudo mount /dev/sda1 /win
    ubuntu@ubuntu:~$ sudo mkdir /vdisk
    ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
    /win/ubuntu/disks/root.disk: No such file or directory
    ubuntu@ubuntu:~$ sudo mkdir /win
    mkdir: cannot create directory `/win': File exists
    ubuntu@ubuntu:~$ sudo mount /dev/sdc1 /win
    mount: special device /dev/sdc1 does not exist
    ubuntu@ubuntu:~$ sudo mkdir /vdisk
    mkdir: cannot create directory `/vdisk': File exists
    ubuntu@ubuntu:~$ sudo mount /dev/sda2 /win
    mount: you must specify the filesystem type
    ubuntu@ubuntu:~$

    You can guess my thought processes from the choices I made. On the third try at mounting special device I assumed that the C: drive with Windows and the Ubuntu wubi install is a2. If that is correct, how do I specify the file system?

  7. #7
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Gnu Grub version 1.97 Beta4

    Or is there any way to come at it from the Windows side? I guess Windows can't read Linux files, but could it grab the whole directory and copy to an external drive, then using the Ubuntu CD, extract what I want?

  8. #8
    Join Date
    Apr 2010
    Location
    England
    Beans
    3,286

    Re: Gnu Grub version 1.97 Beta4

    sda2 is an extended partition, you won't be able to mount that. Try sda5, but unmount sda1 first. (assuming you're still in the same session)
    Code:
    sudo umount /dev/sda1
    sudo mount /dev/sda5 /win
    mount: special device /dev/sdc1 does not exist
    You don't have an sdc, which is why that mount failed. Try sdb1 instead, if sda5 isn't it either.
    http://xkcd.com/293/
    There are 10 kinds of people in this world: Those who understand ternary, those who don't, and those who confuse it with binary.

  9. #9
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Gnu Grub version 1.97 Beta4

    I think sdb is my external drive, but anyway, I'll give those a shot, thanks.

  10. #10
    Join Date
    Apr 2010
    Location
    Moscow, Russia
    Beans
    35
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: Gnu Grub version 1.97 Beta4

    Here are the next tries. No way to look in sda2?

    ubuntu@ubuntu:~$ sudo mount /dev/sda2 /win
    mount: you must specify the filesystem type
    ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
    /win/ubuntu/disks/root.disk: No such file or directory
    ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /win
    ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
    /win/ubuntu/disks/root.disk: No such file or directory
    ubuntu@ubuntu:~$ sudo umount /dev/sda1
    umount: cannot umount /dev/sda1 -- /dev/sdb1 is mounted over it on the same point.
    ubuntu@ubuntu:~$ sudo umount /dev/sdb1
    ubuntu@ubuntu:~$ sudo umount /dev/sda1
    ubuntu@ubuntu:~$ sudo mount /dev/sda5 /win
    ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
    /win/ubuntu/disks/root.disk: No such file or directory
    ubuntu@ubuntu:~$ sudo umount /dev/sda5
    ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /win
    ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu /vdisk
    /win/ubuntu: No such file or directory
    ubuntu@ubuntu:~$ umount /dev/sdb1
    umount: it seems /dev/sdb1 is mounted multiple times
    ubuntu@ubuntu:~$


    So... what next?

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
  •