You are not logged in.
Pages: 1
I keep getting:
error:no such partition
grub rescue>
I type in ls and the following show up
(hd0) (hd0,4) (hd0,3) (hd0,2) (hd0,1)
when I boot from a live cd and inspect /boot/grub
the only thing in there was menu.lst
so I copied the grub files from /usr/lib/grub/i386-pc/ to /boot/grub
then in the command prompt ( off the live cd )
I type:
grub
and then
grub> root (hd0,1)
grub> setup (hd0)
when I do this I get error 11 unrecognized string
I unfortuntely cannot post my menu.lst as my laptop that I am trying to install arch on is my only computer,
currently I am typing this on my iPod Touch
any ideas of what to do inorder to get this to work?
Last edited by iWuzHere (2010-05-07 07:56:57)
Offline
Oh I forgot to mention my partitions are as follows
/dev/sda1 as root
/dev/sda2 as /var
/dev/sda3 as swap
/dev/sda4 as /home
Offline
What grub is on the live cd - grub2 or legacy (arch uses legacy, recent ubuntu grub2)? Double-check that hd0,1 is still your root partition from the live cd with the "find /boot/grub/stage1" command. edit: it should probably be hd0,0 for grub legacy
P.S.: you can edit your posts by clicking the button at the bottom.
Last edited by hokasch (2010-05-07 07:41:57)
Offline
first off thank you for the quick reply, it is grub legacy on the disc
and secondly I realised what I did wrong, and it is quite embarassing, during the install I put (hd0,1) as the partition for root, but grub interprets this as /dev/sda2 no /dev/sda1
I'm looking at my login prompt right now
so sorry...
Offline
learning by making errors works great ![]()
to avoid this kind of problems in the future, using uuid or labels in grub menu list and fstab instead of /dev/xxx is a good idea.
Last edited by hokasch (2010-05-07 08:01:28)
Offline
Pages: 1