> On Fri Nov 26, 1999 at 04:27:15AM +0200, Shaul Karl wrote: > > I am just playing around with bf-common, not really knowing what I am > > doing. > > However, the following does not look right: > > > > rakefet:/# ps > > Error: /proc must be mounted > > To mount /proc at boot you need an /etc/fstab line like: > > /proc /proc proc defaults > > In the meantime, mount /proc /proc -t proc > > Segmentation fault > > rakefet:/# > > > > I mean, why does it says Segmentation fault if it has the Error? > > The Error is correct. I did not mount proc. > > Hmm. I'm not able to reproduce this here. > > [EMAIL PROTECTED] boot-floppies]$ cp root1440.bin /tmp/root1440.bin.gz > [EMAIL PROTECTED] boot-floppies]$ cd /tmp/ > [EMAIL PROTECTED] /tmp]$ gunzip root1440.bin.gz > [EMAIL PROTECTED] /tmp]$ sudo mount ./root1440.bin /floppy -t ext2 -o loop > [EMAIL PROTECTED] /tmp]$ sudo chroot /floppy bin/ash > [EMAIL PROTECTED] \W]\$ mount > /proc/mounts: No such file or directory > [EMAIL PROTECTED] \W]\$ ps > PID Uid Gid State Command > [EMAIL PROTECTED] \W]\$ mount proc /proc -t proc > [EMAIL PROTECTED] \W]\$ ps > PID Uid Gid State Command > 1 root root S init [4] > 2 root root S kflushd > [----------snip------------] > [EMAIL PROTECTED] \W]\$ mount > /dev/root on / type ext2 (rw) > proc on /proc type proc (rw) > devpts on /dev/pts type devpts (rw) > [----------snip------------] > /dev/loop0 on /floppy type ext2 (rw) > proc on /proc type proc (rw) > > Could you share a bit more detail? Is this the boot-floppies > from CVS, or the slink boot floppies? > > -Erik > > -- > Erik B. Andersen Web: http://www.xmission.com/~andersen/ > email: [EMAIL PROTECTED] > --This message was written using 73% post-consumer electrons--
I am using http://www.debian.org/~aph/boot-floppies/19991118/bf-common.tar.gz. untarred them into the common dir. Starting from my potato installtion: [06:50:53 bf]$ cd basetest/common/ [06:53:41 common]$ ls base2_2.tgz boot dev etc home lib proc sbin usr bin cdrom drivers.tgz floppy initrd mnt root tmp var [06:54:09 common]$ su Password: [06:55:00 common]# chroot . rakefet:/# mount rakefet:/# ps Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: /proc /proc proc defaults In the meantime, mount /proc /proc -t proc Segmentation fault Also note there are differences between your output and mine: 1) Your ps output gives a header line. 2) Without /proc my mount simply exit. No message like the one you are getting. 3) I am not getting the processes you get after /proc is mounted. Can it be that I do not simulate an installation session correctly ? And where is ash? [07:04:27 common]$ ls bin/a* bin/ae bin/arch [07:04:58 common]$