Find the answer to your Linux question:
Results 1 to 3 of 3
I'm having some rather weird problems with GRUB and my MBR. I've tried to install a Linux system twice now, and each time I do, when booting grub, I get ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie SagaciousKJB's Avatar
    Join Date
    Aug 2007
    Location
    Yakima, WA
    Posts
    162

    Problems with GRUB and MBR


    I'm having some rather weird problems with GRUB and my MBR. I've tried to install a Linux system twice now, and each time I do, when booting grub, I get an error 15.

    I started getting this error after removing an 80 GB hard-drive from my computer, and switching my main hard-drive to slave ( my DVD rom as the master ). My initial installation of Ubuntu would not boot, even if I got Super Grub Disk to get passed the error 15, I still got an error 17.


    Well, so I tried just reinstalling grub to the MBR hoping that would help, but it didn't. I tried resinstalling Ubuntu hoping that maybe it would solve it on its own fruition, but it didn't. I've just installed Debian Etch, and the same story, but this time using Super Grub Disk I was able to boot into the MBR and load my OS, but only after comletely repartitoning the drive, and choosing to boot from the MBR in Super Grub Disk.

    I'm not sure why Super Grub Disk can boot the MBR, but the GRUB I have configured cannot.

    device.map
    Code:
    (hd0)   /dev/hdb
    (hd1)   /dev/sda
    (hd2)   /dev/sdb
    (hd3)   /dev/sdc
    menu.lst
    Code:
    ## ## End Default Options ##
    
    title           Debian GNU/Linux, kernel 2.6.18-4-486
    root            (hd0,0)
    kernel          /boot/vmlinuz-2.6.18-4-486 root=/dev/hdb1 ro
    initrd          /boot/initrd.img-2.6.18-4-486
    savedefault
    
    title           Debian GNU/Linux, kernel 2.6.18-4-486 (single-user mode)
    root            (hd0,0)
    kernel          /boot/vmlinuz-2.6.18-4-486 root=/dev/hdb1 ro single
    initrd          /boot/initrd.img-2.6.18-4-486
    savedefault
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    ls of /boot/grub

    Code:
    default        fat_stage1_5  minix_stage1_5     stage2
    device.map     jfs_stage1_5  reiserfs_stage1_5  xfs_stage1_5
    e2fs_stage1_5  menu.lst      stage1

    Anyway, can anyone help e figure out what my problem is? It is very weird.

  2. #2
    Just Joined! javilin93's Avatar
    Join Date
    Jun 2008
    Location
    Atlanta
    Posts
    36
    hello
    I might be wrong but if your willing to try changing hd0 to hd1
    so it would be:
    root (hd1,0)
    instead of:
    root (hd0,0)
    Last edited by javilin93; 11-07-2008 at 12:54 AM. Reason: had to clarify some stuff

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Have you managed to sort this problem yet ... output of
    Code:
    sudo fdisk -l
    would also be useful ...

  4. $spacer_open
    $spacer_close

Posting Permissions

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