You are not logged in.

#1 2009-05-25 15:42:34

xchg
Member
Registered: 2009-05-25
Posts: 2

Grub Error 2

Hi, I have installed Archlinux on /dev/hda8 on my disk. I've skiped cfdisk and installing bootloader becuase i allready have partitioned disk, and grub installed in mbr. I add these lines to my menu.lst in /boot/grub

title Arch, 2.6.28
root (hd0,7)
kernel /boot/vmlinuz26 root=9385bea7-3764-4b9e-a878-916e864e32d9 ro
initrd /boot/kernel26.img

but when trying to boot system i get grub error - Bad file or directory type. I am sure these files ARE on partition and they are not links.
There was a Slackware before this installation and he has booted normaly.
Where's the problem?

Last edited by xchg (2009-05-25 15:44:21)

Offline

#2 2009-05-25 15:55:16

mang
Member
From: stockholm/sweden
Registered: 2008-11-11
Posts: 27
Website

Re: Grub Error 2

i belive you should write like this if you identify it by uuid:

root=/dev/disk/by-uuid/9385bea7-3764-4b9e-a878-916e864e32d9

but i'm not sure, i have root=/dev/sda1 in mine instead
hope it works

Offline

#3 2009-05-25 16:38:58

xchg
Member
Registered: 2009-05-25
Posts: 2

Re: Grub Error 2

I don't think this is the reason because it's not kernel problem but grub problem. However I've tried it but unsucessfully.
Maybe it's bugged disk because cfdisk wrote this

[FATAL ERROR: Bad logical partition 7: enlarged logical partitions overlap

This is fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3409    27382761    7  HPFS/NTFS
/dev/hda2            3410        9729    50765400    5  Extended
/dev/hda5            5673        8616    23647680   83  Linux
/dev/hda6            9695        9729      281106   82  Linux swap
/dev/hda7            3410        5672    18177484+  83  Linux
/dev/hda8            8617        9694     8659003+  83  Linux

Partition table entries are not in disk order

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

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       19457   156288321    c  W95 FAT32 (LBA)

Last edited by xchg (2009-05-25 16:42:40)

Offline

Board footer

Powered by FluxBB