You are not logged in.

#1 2010-07-01 20:08:27

Whistler
Member
From: Russia
Registered: 2010-07-01
Posts: 5

GRUB doesn't install correctly

I've installed GRUB via AIF and it's unable to boot at all

fylesystem type unknown, partition type 0x7
kernel /vmlinuz26 root=/dev/sdb3 ro
Error 17: can't mount selected partition

I opened the GRUB console and specified root on hd1,1, next I tried setup (hd1) and it says

Error 17: can't mount selected partition

again sad

Also tried to rebuild partition table anew, but it didn't help me at all

I installed Arch on VirtualBox before, everything was O.K, but I used auto-partitioning via AIF, maybe here is the trouble?

PS: I haven't device.map in /boot/grub

# (0) Arch Linux
title  Arch Linux
root   (hd1,1)
kernel /vmlinuz26 root=/dev/sdb3 ro
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd1,1)
kernel /vmlinuz26 root=/dev/sdb3 ro
initrd /kernel26-fallback.img
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x21ad86a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         249     2000061   82  Linux swap / Solaris
/dev/sdb2   *         250         261       96390   83  Linux
/dev/sdb3             262        1506    10000462+  83  Linux
/dev/sdb4            1507        7731    50002312+  83  Linux

Last edited by Whistler (2010-07-02 11:11:26)

Offline

#2 2010-07-06 14:30:28

miau
Member
Registered: 2009-05-06
Posts: 202

Re: GRUB doesn't install correctly

Do you have more than one HDD? If not then you must modify the root entry to

root   (hd0,1)

instead of

root   (hd1,1)

And have you tried the tips in the wiki? Which grub version are you using?

Last edited by miau (2010-07-06 14:44:01)

Offline

#3 2010-07-06 16:46:31

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: GRUB doesn't install correctly

As stated above, you should only have hd0 if you don't have more than one hard drive. GRUB, and almost anything else computer-related, starts counting at 0.

Offline

#4 2010-07-06 20:42:18

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: GRUB doesn't install correctly

itsbrad212 wrote:

As stated above, you should only have hd0 if you don't have more than one hard drive. GRUB, and almost anything else computer-related, starts counting at 0.

And then enter Grub2, which starts counting physical disks at 0, and partitions at 1.

Offline

Board footer

Powered by FluxBB