baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: 3aoo-cvfd AT dea.spamcon.org
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] BL3 filesystem questions
- Date: Fri, 12 Mar 2004 10:01:12 +1300
James Miller wrote:
>
> 1) are there worries about unclean shutdowns with this fs.img
> method? Can/will e2fsck run after any unclean shutdown?
e2fsck runs automatically every time BL3 boots.
> Is it unsafe/unwise to just power off without doing ctrl-alt-del
Press CTRL-ALT-DEL before powering off. This gives Linux
a chance to clear its buffers, update the filesystem with
recent changes, and umount all filesystems.
> or the like first?
The default BL1 and BL2 ran from a ramdisk (with a brand new
copy every time). Clearing buffers and updating was not an
issue then.
> 2) is it possible to mount the BL3 filesystem from another
> Linux running, say, on an adjacent partition,
Yes.
> in order to do editing, copying of files to/from etc?
Or, alternatively, you could do it the other way round:
mount the partition from inside BL3.
> If so, how? As a loop device?
---------------------------
mount -o loop fs.img /mnt
---------------------------
Natually, you first have to mount the (dos) partition that
fs.img sits on. You could even copy fs.img to your Linux
partition and play with it there.
> Is there a chroot procedure involved?
Probably not. You only need chroot if you actually want
to run BL3 from inside another Linux (but that is not
necessary for editing/copying/deleting).
--------------------
cd /mnt
chroot /mnt /bin/sh
--------------------
BTW, when you chroot, you are still using your original
kernel (not the BL3 kernel). So, if your kernel requires
something special in the filesystem (like devfs), it might
not be happy running on the BL3 filesystem.
Cheers,
Steven
-
[BL] BL3 filesystem questions,
James Miller, 03/11/2004
- Re: [BL] BL3 filesystem questions, 3aoo-cvfd, 03/11/2004
Archive powered by MHonArc 2.6.24.