View previous topic :: View next topic |
Author |
Message |
klockren Apprentice
Joined: 21 Apr 2004 Posts: 167 Location: Linköping, Sweden
|
Posted: Fri Jun 24, 2005 2:29 pm Post subject: GRUB-problem med SATA [SOLVED] |
|
|
Jag har porecis flyttat över all data från min 120 GB stora PATA-hårddisk till en SATA (SATA2) på 250 GB.
SATA-disken är nu ensam hårddisk i systemet. Försökte sedan att installera GRUB i bootsektorn,
men det gick inte så nu kör jag med LILO. Vill dock använda GRUB!
SATA-disken heter i systemet '/dev/sda'
Provade att köra:
Code: | # grub-install --root-directory=/boot --no-floppy /dev/sda
/dev/sda does not have any corresponding BIOS drive.
|
...och
Code: | # grub-install --root-directory=/boot --no-floppy '(hd0)'
/dev/sda1 does not have any corresponding BIOS drive.
|
Jag har inte ändrat nåt i min grub.conf (har hört att även SATA-partitioner kallas hdx,y i GRUB).
grub.conf:
Code: | default 0
timeout 30
splashimage=(hd0,0)/grub/images/petergrub.xpm.gz
title=Gentoo 2.6.12r1
root (hd0,0)
kernel /kernel-2.6.12r1
title=Gentoo 2.6.11r11
root (hd0,0)
kernel /kernel-2.6.11r11
title=Windoze
root (hd0,1)
makeactive
chainloader +1
|
Last edited by klockren on Tue Jul 05, 2005 8:45 pm; edited 1 time in total |
|
Back to top |
|
|
patrix_neo Guru
Joined: 08 Jan 2004 Posts: 520 Location: The Maldives
|
|
Back to top |
|
|
klockren Apprentice
Joined: 21 Apr 2004 Posts: 167 Location: Linköping, Sweden
|
Posted: Tue Jul 05, 2005 8:45 pm Post subject: |
|
|
Ja, jag fick installera GRUB manuellt med Code: | # grub --no-floppy
> root (hd0,0)
> setup (hd0)
> quit |
Då fungerade det |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|