← Back to team overview

sslug-teknik team mailing list archive

Mærkeligt problem med GRUB

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hej alle,

Jeg oplever pt. et mærkeligt problem med GRUB, som manifesterer sig på
følgende måde:

Ved normal opstart skal GRUB have opsætningen root(hd1,0), men har jeg
slukket maskinen vha. hibernate, skal GRUB have opsætningen root(hd0,0)
for at kunne finde kernen. Nogen med tilsvarende oplevelser?

$ fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004358f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          12       96358+  83  Linux
/dev/sda2              13       19457   156191962+   5  Extended
/dev/sda5           18946       19457     4112640   82  Linux swap / Solaris 
/dev/sda6              13       18945   152079259+  83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0008c768

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          24      192748+  83  Linux
/dev/sdb2              25         389     2931862+  82  Linux swap / Solaris 
/dev/sdb3             390      121601   973635390    5  Extended 
/dev/sdb5             390      121478   972647329+  83  Linux 
/dev/sdb6          121479      121601      987966   83  Linux

boot: sdb1
root: sdb5

Kunne problemet være, at både sda1 og sdb1 har boot flaget sat?

- -- 
Hilsen/Regards
Michael Rasmussen
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
A computer is like air conditioning: it becomes useless when you open
windows.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoaxIUACgkQVErYVePoCRcrWwCfbMj0GioHgJ3zpqte2OQi1vSa
KfEAn3orx8e6gzNhewGuMV4Tlyd3k8sj
=Iv6C
-----END PGP SIGNATURE-----

Follow ups