You are not logged in.

#1 2010-05-07 07:21:45

iWuzHere
Member
Registered: 2010-05-07
Posts: 7

[SOLVED]Error on boot, new install

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

#2 2010-05-07 07:23:03

iWuzHere
Member
Registered: 2010-05-07
Posts: 7

Re: [SOLVED]Error on boot, new install

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

#3 2010-05-07 07:30:44

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Error on boot, new install

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

#4 2010-05-07 07:56:24

iWuzHere
Member
Registered: 2010-05-07
Posts: 7

Re: [SOLVED]Error on boot, new install

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

#5 2010-05-07 08:00:34

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED]Error on boot, new install

learning by making errors works great wink
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

Board footer

Powered by FluxBB