Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Hello! I had this GRUB bootloader working well for each Operating System and each OS start-up fine: Ubuntu 9.04, kernel 2.6.28-11-generic Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) Ubuntu 9.04, memtest86+ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    10

    Linux does not boot anymore


    Hello!

    I had this GRUB bootloader working well for each Operating System and each OS start-up fine:

    Ubuntu 9.04, kernel 2.6.28-11-generic
    Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    Ubuntu 9.04, memtest86+
    Other Windows operating systems
    -> Windows 7
    -> Windows Vista (recovery mode)
    -> Windows XP
    Debian GNU/Linux, kernel 2.6.26-2-686
    Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)


    Each Linux and Windows OSs were installed on separate partitions with Vista first, Seven 2nd, XP 3rd, Ubuntu 4th, Debian 5th.

    However I wanted Windows bootloader be in charge, installed EasyBCD, rewrote Windows MBR, installed NeoGrub for Linux, clicked to configure menu.lst of NeoGrub, pasted the details of the GRUB above (see the NeoGrub configuration below), saved, then after reboot I had new Bootloader looking like this:

    Windows 7
    Windows Vista (recovery mode)
    Windows XP
    NeoGrub
    -> Ubuntu 9.04, kernel 2.6.28-11-generic
    -> Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    -> Ubuntu 9.04, memtest86+
    -> Debian GNU/Linux, kernel 2.6.26-2-686
    -> Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)

    However when entering the NeoGrub and choosing any Linux to boot I have the following error message on screen:

    For Ubuntu:

    Booting 'Ubuntu 9.04, kernel 2.6.28-11-generic'

    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=2ebe46ab-c5d8-4f15-a626-0162138d68a3 ro quiet splash

    Error 17: File not found

    Press any key to continue...

    For Debian:

    root (hd0,7)
    Filesystem type is ext2fs, partition type 0x83
    kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=66f39d0f-25d0-4be6-898b-2801e5dc7f6d ro quiet

    Error 2: Bad file or directory type

    Press any key to continue

    How to fix this problem so that each Linux start-up?
    Please, consider Iím a total newbie for Linux and right now Iím experimenting with all these OSs and I want to have this problem fixed.

    I attach below NeoGrub Configuration

    # NeoSmart NeoGrub Bootloader Configuration File
    #
    # This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
    # Please see the EasyBCD Documentation for information on how to create/modify entries:
    # EasyBCD Documentation Home - NeoSmart Technologies Wiki
    title Ubuntu 9.04, kernel 2.6.28-11-generic
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=2ebe46ab-c5d8-4f15-a626-0162138d86a3 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=2ebe46ab-c5d8-4f15-a626-0162138d86a3 ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Ubuntu 9.04, memtest86+
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/memtest86+.bin
    quiet

    title Debian GNU/Linux, kernel 2.6.26-2-686
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=66f39d0f-25d0-4be6-898b-2801e5dc7f6d ro quiet
    initrd /boot/initrd.img-2.6.26-2-686

    title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=66f39d0f-25d0-4be6-898b-2801e5dc7f6d ro single
    initrd /boot/initrd.img-2.6.26-2-686

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    try replacing the UUID with the actual partition name/number, back up the old file first though

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    10
    Thanks for reply coopstah13

    I will try.

    Just to be exact what exactly do I have to paste instead of UUID according to data below?

    /dev/sda1 ntfs 24.00 GB boot (this is where Vista is installed)
    /dev/sda2 extended 208.88 GB
    -> /dev/sda5 ntfs 24.00 GB (Windows 7)
    -> /dev/sda6 ntfs 15.00 GB (Windows XP)
    -> /dev/sda7 ext3 12.00 GB (Ubuntu 9.04)
    -> /dev/sda8 ext3 12.00 GB (Debian 5.0.3)
    -> /dev/sda9 ntfs 137.88 GB
    -> /dev/sda10 linux-swap 8.00 GB

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Quote Originally Posted by ingmember View Post
    # EasyBCD Documentation Home - NeoSmart Technologies Wiki
    title Ubuntu 9.04, kernel 2.6.28-11-generic
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda7 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet


    title Debian GNU/Linux, kernel 2.6.26-2-686
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro quiet
    initrd /boot/initrd.img-2.6.26-2-686

    Just to be exact what exactly do I have to paste instead of UUID according to data below?

    -> /dev/sda7 ext3 12.00 GB (Ubuntu 9.04)
    -> /dev/sda8 ext3 12.00 GB (Debian 5.0.3)
    Info to be changed in bold above ... check if this works. Incase it does not then boot from Ubuntu live cd and post the output of
    Code:
    sudo -s
    ls /dev/disk/by-uuid -l
    grub
    find /boot/grub/menu.lst
    quit
    the -l has a small L rather than a one, and you need to post the find command output before typing quit

  6. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    10
    Thank you for trying to help Jonathan183,

    I tried to paste in bold as you described, but it didn't work, same problem when I tried to boot both Linuxes.

    Here is the output I did next:

    ubuntu@ubuntu:~$ sudo -s
    root@ubuntu:~# ls /dev/disk/by-uuid -l
    total 0
    lrwxrwxrwx 1 root root 10 2009-10-26 11:51 2ebe46ab-c5d8-4f15-a626-0162138d86a3 -> ../../sda7
    lrwxrwxrwx 1 root root 10 2009-10-26 11:51 307D42176569349E -> ../../sda5
    lrwxrwxrwx 1 root root 10 2009-10-26 11:51 361C527B1FB7621B -> ../../sda9
    lrwxrwxrwx 1 root root 10 2009-10-26 11:51 3A9F5A300447C07C -> ../../sda6
    lrwxrwxrwx 1 root root 10 2009-10-26 11:51 66f39d0f-25d0-4be6-898b-2801e5dc7f6d -> ../../sda8
    lrwxrwxrwx 1 root root 10 2009-10-26 11:51 6EE4675EE4672813 -> ../../sda1
    root@ubuntu:~#


    grub> find /boot/grub/menu.lst
    (hd0,6)
    (hd0,7)

    grub>

  7. #6
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,769
    Quote Originally Posted by ingmember View Post
    Hello!

    I had this GRUB bootloader working well for each Operating System and each OS start-up fine:

    Ubuntu 9.04, kernel 2.6.28-11-generic
    Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    Ubuntu 9.04, memtest86+
    Other Windows operating systems
    -> Windows 7
    -> Windows Vista (recovery mode)
    -> Windows XP
    Debian GNU/Linux, kernel 2.6.26-2-686
    Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)


    Each Linux and Windows OSs were installed on separate partitions with Vista first, Seven 2nd, XP 3rd, Ubuntu 4th, Debian 5th.

    However I wanted Windows bootloader be in charge, installed EasyBCD, rewrote Windows MBR, installed NeoGrub for Linux, clicked to configure menu.lst of NeoGrub, pasted the details of the GRUB above (see the NeoGrub configuration below), saved, then after reboot I had new Bootloader looking like this:

    Windows 7
    Windows Vista (recovery mode)
    Windows XP
    NeoGrub
    -> Ubuntu 9.04, kernel 2.6.28-11-generic
    -> Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    -> Ubuntu 9.04, memtest86+
    -> Debian GNU/Linux, kernel 2.6.26-2-686
    -> Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)

    However when entering the NeoGrub and choosing any Linux to boot I have the following error message on screen:

    For Ubuntu:

    Booting 'Ubuntu 9.04, kernel 2.6.28-11-generic'

    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=2ebe46ab-c5d8-4f15-a626-0162138d68a3 ro quiet splash

    Error 17: File not found

    Press any key to continue...

    For Debian:

    root (hd0,7)
    Filesystem type is ext2fs, partition type 0x83
    kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=66f39d0f-25d0-4be6-898b-2801e5dc7f6d ro quiet

    Error 2: Bad file or directory type

    Press any key to continue

    How to fix this problem so that each Linux start-up?
    Please, consider Iím a total newbie for Linux and right now Iím experimenting with all these OSs and I want to have this problem fixed.

    I attach below NeoGrub Configuration

    # NeoSmart NeoGrub Bootloader Configuration File
    #
    # This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
    # Please see the EasyBCD Documentation for information on how to create/modify entries:
    # EasyBCD Documentation Home - NeoSmart Technologies Wiki
    title Ubuntu 9.04, kernel 2.6.28-11-generic
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=2ebe46ab-c5d8-4f15-a626-0162138d86a3 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=2ebe46ab-c5d8-4f15-a626-0162138d86a3 ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Ubuntu 9.04, memtest86+
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/memtest86+.bin
    quiet

    title Debian GNU/Linux, kernel 2.6.26-2-686
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=66f39d0f-25d0-4be6-898b-2801e5dc7f6d ro quiet
    initrd /boot/initrd.img-2.6.26-2-686

    title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=66f39d0f-25d0-4be6-898b-2801e5dc7f6d ro single
    initrd /boot/initrd.img-2.6.26-2-686
    /dev/sda1 ntfs 24.00 GB boot (this is where Vista is installed)
    /dev/sda2 extended 208.88 GB
    -> /dev/sda5 ntfs 24.00 GB (Windows 7)
    -> /dev/sda6 ntfs 15.00 GB (Windows XP)
    -> /dev/sda7 ext3 12.00 GB (Ubuntu 9.04)
    -> /dev/sda8 ext3 12.00 GB (Debian 5.0.3)
    -> /dev/sda9 ntfs 137.88 GB
    -> /dev/sda10 linux-swap 8.00 GB
    I tried to modify the menu.lst file try this and check whether this works


    # NeoSmart NeoGrub Bootloader Configuration File
    #
    # This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
    # Please see the EasyBCD Documentation for information on how to create/modify entries:
    # EasyBCD Documentation Home - NeoSmart Technologies Wiki
    title Ubuntu 9.04, kernel 2.6.28-11-generic
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda7 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda7 ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Ubuntu 9.04, memtest86+
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/memtest86+.bin
    quiet

    title Debian GNU/Linux, kernel 2.6.26-2-686
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro quiet
    initrd /boot/initrd.img-2.6.26-2-686

    title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro single
    initrd /boot/initrd.img-2.6.26-2-686
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  8. #7
    Just Joined!
    Join Date
    Oct 2009
    Posts
    10
    Thank you Lakshmipathi.

    I have replaced text of menu.lst with text you provided above,

    # NeoSmart NeoGrub Bootloader Configuration File
    #
    # This is the NeoGrub configuration file, and should be located at C:\NST\menu.lst
    # Please see the EasyBCD Documentation for information on how to create/modify entries:
    # EasyBCD Documentation Home - NeoSmart Technologies Wiki
    title Ubuntu 9.04, kernel 2.6.28-11-generic
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda7 ro quiet splash
    initrd /boot/initrd.img-2.6.28-11-generic
    quiet

    title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    root (hd0,6)
    kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda7 ro single
    initrd /boot/initrd.img-2.6.28-11-generic

    title Ubuntu 9.04, memtest86+
    uuid 2ebe46ab-c5d8-4f15-a626-0162138d86a3
    kernel /boot/memtest86+.bin
    quiet

    title Debian GNU/Linux, kernel 2.6.26-2-686
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro quiet
    initrd /boot/initrd.img-2.6.26-2-686

    title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
    root (hd0,7)
    kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/sda8 ro single
    initrd /boot/initrd.img-2.6.26-2-686

    But it still didn't work. Same errors.

    Any other suggestions?

  9. #8
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,769

    Exclamation

    I have seen many LF member suggesting Super Grub Disk Homepage for boot issues . May be give it a try
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  10. #9
    Just Joined!
    Join Date
    Oct 2009
    Posts
    10
    This seems to be a very good page. I will give it a try. Thank you for that!

  11. #10
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    You could try booting from a live CD and manually installing grub to the boot sector of the root partition. For Ubuntu and Debian
    Code:
    sudo grub
    root (hd0,6)
    setup (hd0,6)
    root (hd0,7)
    setup (hd0,7)
    quit
    After that try setting up EasyBCD again.

Page 1 of 2 1 2 LastLast

Posting Permissions

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