[clug] grub boot problems

Paul mylists at wilsononline.id.au
Mon Aug 4 06:51:21 GMT 2008


I have been using Linux for some years but my experience seems to fail me here

I'm migrating my O/S + data to a new SATA drive and I have set my BIOS Boot priority for 
my new drive as top.

I assumed I set my grub root command to boot off this drive as per device.map
which is here: (note I want to boot (hd2)
(hd0)   /dev/sda
(hd1)   /dev/sdb
(hd2)   /dev/sdc
~

Initially I tried
root (hd2,1)
but I got  Error 22: partition not valid

Arrggg.


here is Partition table for /dev/sdc (root is part#2) I hope

GNU Parted 1.8.6
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA SAMSUNG HD501LJ (scsi)
Disk /dev/sdc: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
  1      32.3kB  107MB   107MB   primary  ext3         boot
  2      107MB   21.6GB  21.5GB  primary  ext3
  3      21.6GB  23.7GB  2147MB  primary  linux-swap
  4      23.7GB  500GB   476GB   primary  ext3


menu.lst
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25.11-60.fc8) new
         root (hd0,1)
         kernel /boot/vmlinuz-2.6.25.11-60.fc8 ro root=LABEL=/ rhgb quiet
         initrd /boot/initrd-2.6.25.11-60.fc8.img


More information about the linux mailing list