baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works.
- From: 3aoo-cvfd AT dea.spamcon.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works.
- Date: Wed, 24 Nov 2004 17:54:54 +1300
sindi keesan wrote:
>
> chroot /hd (with no command followin)
That defaults to /bin/sh
I included /bin/sh in my suggestion because I wasn't
sure the busybox chroot would do the default.
> How would running /bin/sh work?
Try the following:
-------
/bin/sh
-------
It gives you a sub-shell (which works just like your
ordinary shell).
> I don't understand this at all.
"chroot /hd /bin/sh" runs a subshell (sh) on the filesystem
it finds on /hd (assuming /hd/bin/sh exists). The /bin in
the chroot command is relative to the new filesystem.
> Can I then run any command from the ext2 partition without chroot?
Yes. You are in the subshell until you type exit.
> chroot /hd seems to work.
As long as your version of chroot defaults to /bin/sh
(or whatever shell you have in /hd/bin) it will work.
> with chroot /hd I can no longer use the RAMdisk or
> loop version,
Your original filesystem should still be running on
your other ttys.
> chroot /dev/loop / or /dev/ram0 for BL2
> ought to get me back to the loop version or ramdisk version.
Exit gets you back.
Cheers,
Steven
____________________________
http://www.basiclinux.com.ru
-
[BL] mounting 360K floppy as fd1 in BL2,
sindi keesan, 11/19/2004
-
Re: [BL] mounting 360K floppy as fd1 in BL2,
sindi keesan, 11/21/2004
-
[BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/22/2004
-
Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/22/2004
-
Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/22/2004
-
Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/23/2004
-
Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
3aoo-cvfd, 11/23/2004
- Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works., sindi keesan, 11/23/2004
- Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works., 3aoo-cvfd, 11/23/2004
- Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works., sindi keesan, 11/24/2004
- Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works., 3aoo-cvfd, 11/24/2004
- Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works., sindi keesan, 11/24/2004
- My computers have gone crazy, was Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works., sindi keesan, 11/25/2004
- [BL] Re: My computers have gone crazy, Sheldon Isaac, 11/25/2004
- Re: [BL] Re: My computers have gone crazy, sindi keesan, 11/25/2004
- Re: [BL] Re: My computers have gone crazy, Sheldon Isaac, 11/25/2004
- Re: [BL] Re: My computers have gone crazy, sindi keesan, 11/25/2004
- Re: [BL] Re: My computers have gone crazy, Sheldon Isaac, 11/26/2004
- Re: [BL] Re: My computers have gone crazy, sindi keesan, 11/26/2004
-
Re: Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
3aoo-cvfd, 11/23/2004
-
Switching from RAMdisk or loop to HD BL after booting, was Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/23/2004
-
Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/22/2004
-
Re: [BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/22/2004
-
[BL] Cannot boot BL2 HD but RAMdisk works.,
sindi keesan, 11/22/2004
-
Re: [BL] mounting 360K floppy as fd1 in BL2,
sindi keesan, 11/21/2004
Archive powered by MHonArc 2.6.24.