You are not logged in.

#1 2005-05-25 20:25:06

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Arch cd doesn't boot into existing Archlinux partition.

I decided to erase Windows 2000 and install XP to try it and resolve some problems I had while helping some of my friends. Bad thing is, you know, Windows erases Lilo, and trying to boot my Archlinux partition with the Arch cd doesn't work, I can't see my files. This is the command I use:

arch root=/dev/discs/disc0/part5

What do I do now?

Offline

#2 2005-05-25 20:37:54

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Arch cd doesn't boot into existing Archlinux partition.

Boot with the cd, mount the hd, and chroot to it. Then from there rerun lilo.

Offline

#3 2005-05-25 22:41:05

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Re: Arch cd doesn't boot into existing Archlinux partition.

Well, I did this:

mount /dev/discs/disc0/part5 /mnt

chroot /mnt

now lilo gives gives this error:

Fatal: raid_setup: stat("/dev/disc/disc0/disc")

There is only one file in /dev, the null device. Did I miss something?

Offline

#4 2005-05-25 22:50:44

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Arch cd doesn't boot into existing Archlinux partition.

you need to remount /proc and /dev under the chroot environ if you want to do that

Offline

#5 2005-05-25 23:06:44

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Arch cd doesn't boot into existing Archlinux partition.

Probably best to mount --rbind /dev/ /mnt/dev before chrooting.

Offline

#6 2005-05-25 23:10:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Arch cd doesn't boot into existing Archlinux partition.

i3839 wrote:

Probably best to mount --rbind /dev/ /mnt/dev before chrooting.

omg I never knew about the --rbind until now... manually doing it... drat!

also, I think lilo requires something goofy in /proc too... so rebind dev AND proc before you chroot

Offline

#7 2005-05-25 23:42:54

Luis Q. R.
Member
Registered: 2003-02-20
Posts: 106

Re: Arch cd doesn't boot into existing Archlinux partition.

Fixed. The command was:

vmlinuz root=/dev/discs/disc0/part5

not:

arch root=/dev/discs/disc0/part5

The developers should fix the boot message the next time they release an Arch cd.

Offline

#8 2005-05-26 08:38:23

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Arch cd doesn't boot into existing Archlinux partition.

--rbind?
wasn't it --bind?

link  - tested and updated by me one more than year ago, when I first installed Arch.

Offline

#9 2005-05-26 11:13:49

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Arch cd doesn't boot into existing Archlinux partition.

See manpage of mount. rbind instead of bind because of /dev/pts.

Offline

Board footer

Powered by FluxBB