You are not logged in.

#1 2007-09-01 23:40:57

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Install CD as a rescue: to chroot or not to chroot?

I'm lacking some basic knowledge to how it affects system operations. Some time ago many, including myself, experienced a "CRC error" at boot after a kernel upgrade. I didn't make my homework, so I just grabbed the Arch install-CD and booted from it directly pointing at my root partition; logged in as root; went to /var/cache/pacman/pkg and selected a previous kernel and rolled back.

Now I read through what I can find in the Wiki and a lot of posts. Among the information I see "DO NOT use the root= option" and overall the consensus seems to be that the correct way is to boot with the install-CD, but not directly to root, and then mount necessary parts of the system and chroot into it.

What I can't find is a clear answer to why my newbie-approach should have been avoided, and what the difference will be to following the Wiki guidelines. Could I have potentially harmed my system?

If the answer is already written here somewhere in black and white, I apologize.

Thanks in advance for your time!

Offline

#2 2007-09-02 00:26:30

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

Re: Install CD as a rescue: to chroot or not to chroot?

For me booting to my root partition with the install-CD was the only solution. I tried to chroot from an existing Zenwalk partition, but when I updated Lilo it gave me an error message.


Don't panic!

Offline

#3 2007-09-02 06:50:08

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: Install CD as a rescue: to chroot or not to chroot?

I really can't see a difference for the matter of rescue between booting and chrooting except due to a chroot more manual steps have to be done.

In both ways you're using the LiveCD's kernel to access you data and that's pretty much it,isn't it?

Last edited by harlekin (2007-09-02 06:50:19)


Hail to the thief!

Offline

#4 2007-09-02 08:18:09

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Install CD as a rescue: to chroot or not to chroot?

If there was a system error that isn't kernel related, you might need to do the chroot approach to rescue your system.


-- archlinux 是一个极好的 linux

Offline

#5 2007-09-02 08:27:24

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: Install CD as a rescue: to chroot or not to chroot?

Based on your comments I tend to believe it's more a question of whether it works or not. I mean if the simple approach to boot directly into the system works, fine, but if it doesn't chroot might be the only solution.

It's not of great importance right now, it's more like one of those occasions when I decide to actually know the do's and don'ts.

Offline

Board footer

Powered by FluxBB