You are not logged in.
Pages: 1
Hello
Ive just attempted to install arch for the first time, however grub fails when attempting to install
/boot is on sda5 and root on sda6. both are logical partitions, the rest are primary. root is ext4, boot is ext2.
tty7 gives:
grub> device (hd0) /dev/sda
grub> root (hd0,4)
Filesystem type unknown, partition type 0x1i ran a find /boot/grub/stage1 with the grub utility under a separate tty, but grub doesnt find it
i did find it manually under /mnt however. i also ran "root (hd0," in grub and it gives the same error for every partition
the automatically generated menu.lst looked like this:
# (0) Arch Linux
title Arch Linux
root (hd0,4)
kernel /vmlinuz-linux root=/dev/sda6 ro
initrd /initramfs-linux.img
# (1) Windows
title Windows
rootnoverify (hd0,0)
#makeactive
chainloader +1I only uncommented the lines for windows dual boot. The rest looked correct so I left it.
From what Ive read on these forums and from googling, it seems as though the grub utility cannot read the partitions correctly. i used windows 7 diskpart to partition. Is this the reason that the install fails and should I be using something else to partition?
Last edited by neilzium (2011-12-17 15:34:54)
Offline
I used windows 7 diskpart to partition. Is this the reason that the install fails and should I be using something else to partition?
Yes, it happened to me yesterday. Delete your partitions and recreate them with something else (gparted or cfdisk).
Offline
Hmm... you may have some issues with installing GRUB to a logical partition but then again the last time I tried to do something like this was a few years ago and I don't remember so well. Do you want the GRUB installation that you're working on now to be the main bootloader for your computer? If so then you could try installing GRUB to the MBR. It's not a fix, I know, but it would be an adequate workaround. Do you have a second linux distribution installed on /dev/sda3 and /dev/sda4? Then you could try using the bootloader on /dev/sda3 to boot arch on /dev/sda6.
As far as actually thinking about the problem and the error that you have and not just stalling for an answer by giving you random workarounds
partition type 0x1 is FAT12 and doesn't look too much like a linux boot partition, which should be more like 0x83.
This thread is kinda interesting, not sure if it's the exact same problem but anyways, here
This is where I found the info for whether logical boot partitions work or not
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
Thanks for the replys, I ended up using gparted from a live disk to recreate the partitions which fixed it. I guess grub doesnt work with windows created partitions. The partitions do work fine as logical.
Last edited by neilzium (2011-12-17 15:37:50)
Offline
Pages: 1