Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Booting problems

  1. #1
    Join Date
    May 2009
    Beans
    25
    Distro
    Ubuntu 9.10 Karmic Koala

    Booting problems

    Hi,

    I'm a relative newbie to Linux, and Google is no longer providing answers to my problems, so I was hoping someone could lend a hand. I'll say what the problem I'm having is, then what I did up to that stage.

    When I boot up the computer, I get the message that the GRUB is loading. An error message then comes up, but the GRUB loads succesfully before I can get any details - all I know is that it starts with 'error: no such device: ' and then some characters. However, GRUB does come up fine, and allows me to boot XP with no hassle. However, when I try booting Ubuntu 9.10 in either normal or recovery mode, I am presented with the error message 'error: no such device: 11d28c19-a3b0-41c3-9b27-3948189f5056'. It then tells me to press any key, which takes me back to the GRUB.

    The background is, as briefly as I can put it, that I am running a Compaq nx6110, originally with a 40GB IDE drive, 256MB of RAM. I upgraded the RAM a long time ago to 2GB, no problem. I also updated the BIOS lately to the most recent version, f.14 (ROM family 68DTD), and tried to upgrade the hard-drive to a 320GB WD IDE drive. Unfortunately, the BIOS is not 48 LBA (I think, by process of elimination). To get round this, I partitioned the drive so Windows XP Professional was installed on the first 120GB of the drive - this works no problem. I then instructed Ubuntu to install on the same partition, resizing Windows to 50GB, Ubuntu taking up the rest of the 120GB. The intention was to figure out some way of partitioning the rest of the drive later to give myself access to that, but baby steps.

    Any help that can be given would be greatly appreciated. I've had several issues with installing Ubuntu, most recently this, before that the GRUB refused to install properly (I think this may have been due to my partitioning the entire drive from the get-go, forcing GRUB to try and install itself at the end of the drive, where the BIOS refuses to go). I'll be honest - I don't know how to reinstall Ubuntu over itself, only to install it again, so if that's the only strategy, if you could point me to a manual on how to do that, that would be fantastic.

    Thanks for any possible help!
    johnmic

  2. #2
    Join Date
    Apr 2008
    Beans
    11,657

    Re: Booting problems

    It sounds like this is Ubuntu 9.10, is that correct?

    Also please boot the Live CD choosing to Try without changes to the computer and from the live Desktop go to Terminal and post the output of the following command:

    Code:
    sudo fdisk -l
    BTW that's a lower case L.

  3. #3
    Join Date
    Nov 2009
    Location
    Mataro, Spain
    Beans
    14,248
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Booting problems

    For start, boot with the ubuntu cd, select Try Ubuntu, and when it loads open terminal (in Applications-Accessories) and execute:
    sudo blkid

    Copy the results here. When you are booted like that with the LiveCD you should have internet access so you can stay booted with it, post on the forum and try to troubleshoot. No need to reboot in windows for internet access, etc.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 14.04 LTS 64bit & Windows 10 Pro 64bit

  4. #4
    Join Date
    May 2009
    Beans
    25
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Booting problems

    Thanks very much for the speedy response!

    For sudo fdisk -l, I get:

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x182c182b

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 6532 52468258+ 7 HPFS/NTFS
    /dev/sda2 6533 38913 260100382+ 5 Extended
    /dev/sda5 6533 38164 254084008+ 83 Linux
    /dev/sda6 38165 38913 6016311 82 Linux swap / Solaris

    When I put in sudo blkid, I get:

    /dev/loop0: TYPE="squashfs"
    /dev/sda1: UUID="4AD8D1F7D8D1E16D" TYPE="ntfs"
    /dev/sda5: UUID="11d28c19-a3b0-41c3-9b27-3948189f5056" TYPE="ext4"
    /dev/sda6: UUID="9a8da0df-9db5-412a-b754-fe553964adb4" TYPE="swap"

    I hope that means something to you...

  5. #5
    Join Date
    May 2009
    Beans
    25
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Booting problems

    Sorry, forgot to mention - yes, it is 9.10

  6. #6
    Join Date
    Apr 2008
    Beans
    11,657

    Re: Booting problems

    Quote Originally Posted by johnmic View Post
    Thanks very much for the speedy response!

    For sudo fdisk -l, I get:

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x182c182b

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 6532 52468258+ 7 HPFS/NTFS
    /dev/sda2 6533 38913 260100382+ 5 Extended
    /dev/sda5 6533 38164 254084008+ 83 Linux
    /dev/sda6 38165 38913 6016311 82 Linux swap / Solaris

    When I put in sudo blkid, I get:

    /dev/loop0: TYPE="squashfs"
    /dev/sda1: UUID="4AD8D1F7D8D1E16D" TYPE="ntfs"
    /dev/sda5: UUID="11d28c19-a3b0-41c3-9b27-3948189f5056" TYPE="ext4"
    /dev/sda6: UUID="9a8da0df-9db5-412a-b754-fe553964adb4" TYPE="swap"

    I hope that means something to you...
    I don't know why but grub2 sometimes messes up during installation so I'd mount and chroot Ubuntu and reinstall grub2 from terminal. Just copy-n-paste these commands:

    Code:
    sudo mount /dev/sda5 /mnt && sudo mount --bind /dev /mnt/dev && sudo mount --bind /proc /mnt/proc && sudo mount --bind /dev/pts /mnt/dev/pts && sudo cp /etc/resolv.conf /mnt/etc/resolv.conf && sudo chroot /mnt
    Code:
    grub-install /dev/sda
    Code:
    update-grub
    Be patient that takes a minute or so to complete!

    Code:
    exit
    Code:
    sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt/proc && sudo umount /mnt
    Hopefully that will let you boot Ubuntu but you probably won't have an option to boot Windows so as soon as you get booted into Ubuntu go to terminal and:

    Code:
    sudo update-grub
    That should find Windows.

  7. #7
    Join Date
    May 2009
    Beans
    25
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Booting problems

    Thanks very much for the help. Unfortunately, it doesn't seem to have worked - same error message as before. To make things worse, when I try entering 'sudo update-grub', I get an error message back, saying 'grub-probe: error: cannot find a device for /.' This unfortunately means that booting with the Live CD is the only way to use my computer now!

  8. #8
    Join Date
    May 2009
    Beans
    25
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Booting problems

    I'll admit, I should have checked this before I posted - sorry about that.

    I tried to load the GRUB to play around with it, to be informed that GRUB wasn't installed, which was curious. I consequently used 'apt-get install grub' to get it, and 'update-grub' to try updating it. Now, when I enter GRUB, and try the command 'find /boot/grub', I get 'error 15: File Not Found'. However, from terminal, /boot/grub is there, but there exist no stage1 or stage2 folders. I haven't rebooted yet, but I'll admit, this is looking bad...

  9. #9
    Join Date
    May 2009
    Beans
    25
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Booting problems

    It seems the GRUB is still working, but Windows is not there still.

  10. #10
    Join Date
    Apr 2008
    Beans
    11,657

    Re: Booting problems

    There are two different grubs now. The package "grub" is the old legacy grub. The new grub is called grub2 but the package it uses is "grub-pc".

    So if you installed grub it probably removed grub-pc so you now have both a broken grub and a broken grub2. So let's mount and chroot again.

    This time please copy-n-paste the results from the terminal here before you even try to reboot so I can see what's up.

    Code:
    sudo mount /dev/sda5 /mnt && sudo mount --bind /dev /mnt/dev && sudo mount --bind /proc /mnt/proc && sudo mount --bind /dev/pts /mnt/dev/pts && sudo cp /etc/resolv.conf /mnt/etc/resolv.conf && sudo chroot /mnt
    Code:
    mv /boot/grub /boot/grub_old
    Code:
    mkdir /boot/grub
    Code:
    apt-get --purge remove grub grub-common
    Code:
    apt-get install grub-pc
    Code:
    update-grub
    Code:
    grub-install /dev/sda
    Code:
    exit
    Code:
    sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt/proc && sudo umount /mnt
    If that doesn't work we'll try reverting to legacy grub. Don't worry!

Page 1 of 3 123 LastLast

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
  •