SLS 1.03 Problem: /proc not mounted at boot time?

SLS 1.03 Problem: /proc not mounted at boot time?

Post by Woloschuk David » Sun, 08 Aug 1993 23:36:10



I just installed SLS 1.02 on my machine ( IBM Valuepoint, 8M RAM
245 M HD, PS/2 Mouse, Local Bus Video ) and I have a slight problem:

When I boot Linux, the /proc dir is not mounted so I can't do stuff like
"ps" until I manually mount the dir.

I even changed the /etc/fstab file as it suggested but I still need to
mount "/proc" manually.

Is there a problem with SLS 1.03 in this respect?
Should I worry?

Please e-mail reply... I'll be away from my machine for a few days and
will probably miss some postings here.

Thanks
----------
David R! Woloschuk

 
 
 

SLS 1.03 Problem: /proc not mounted at boot time?

Post by Darrel Matt » Wed, 11 Aug 1993 00:21:37



Quote:>I just installed SLS 1.02 on my machine ( IBM Valuepoint, 8M RAM
>245 M HD, PS/2 Mouse, Local Bus Video ) and I have a slight problem:
>When I boot Linux, the /proc dir is not mounted so I can't do stuff like
>"ps" until I manually mount the dir.
>I even changed the /etc/fstab file as it suggested but I still need to
>mount "/proc" manually.
>Is there a problem with SLS 1.03 in this respect?
>Should I worry?
>Please e-mail reply... I'll be away from my machine for a few days and
>will probably miss some postings here.

Please post also because others are having this same problem.

Thanks

Darrel Mattox
--
-----------------------------------------------------------------------------
   Darrel Mattox                  
   New Technology, Inc.                      Marshall Space Flight Center


 
 
 

SLS 1.03 Problem: /proc not mounted at boot time?

Post by Tom Rhod » Wed, 11 Aug 1993 01:39:47


I also saw the same problem. I tracked it down to the /etc/fstab entry
above the proc entry, the one for the root filesystem.
It originally read:
/dev/hda4       /root           ext2    deafaults

and it should read:
/dev/hda4       /               ext2    deafaults

I believe that the /root is a leftover from the install process.

This also caused a secondary problem with the networking because
ifconfig uses the /proc filesystem to setup the routing tables. Since
/proc wasn't mounted ifconfig didn't work properly (but it also didn't
complain about it either).

Other than this, SLS 1.03 has been great!

Good Luck

 
 
 

SLS 1.03 Problem: /proc not mounted at boot time?

Post by Eric Matthew Furs » Wed, 11 Aug 1993 23:08:30


I had the same problem when I used doinstall.  The problem was averted
when I used the install option from the login prompt.

----------------------------------------
 eric m furst


 "it's the .sig I hate"      o_    
________________________________________

 
 
 

SLS 1.03 Problem: /proc not mounted at boot time?

Post by David Truckenmill » Thu, 12 Aug 1993 00:20:17



Quote:>I had the same problem when I used doinstall.  The problem was averted
>when I used the install option from the login prompt.

I found that it worked only when I had /proc after the root
file system in my /etc/fstab.  Don't know if there was something
else wrong though, I was changing so many things at the same
time I could hardly see straight.

I was installing SLS 1.03 to a second hard disk, while still having
my old system on the first disk.  I didn't like the fstab file
that came with the SLS, so I copied the old one I had from the
first disk, munged around with the special /dev/ file names,
(basically commented out those for /dev/sda* and added those for
/dev/sdb*), and somehow I had /proc before the line: /dev/sdb2 /

Of course, all this makes perfect sense, since there is no way for
the system to mount /proc if it hasn't mounted / yet, but at the
time I got a little confused, since in my mind I still think of
/proc as one of those "pretend" filesystems.

Anyhow, it all works super great now, and with the fsutils,
I almost have a system that will shutdown and boot cleanly.  Now
all I have to do is figure out how to compile the kernel to
mount the root filesystem read only.  (I don't use LILO, I
always boot from a floppy, and I use ext2.)  I also have to
munge around with /etc/rc, (I've been trying sysvinit stuff),
so that crond, and lpr are shutdown before the filesystems are
umounted.  Will umount -a also umount the root?

-Dave

--
---

Linux, Linux, Linux, Linux, Linux, Linux.     [ under development ]

 
 
 

SLS 1.03 Problem: /proc not mounted at boot time?

Post by Warner Lo » Thu, 12 Aug 1993 02:35:06



Quote:Truckenmiller) writes:
>I found that it worked only when I had /proc after the root
>file system in my /etc/fstab.  Don't know if there was something
>else wrong though, I was changing so many things at the same
>time I could hardly see straight.

I found that my /etc/fstab was written like
/dev/sda1       /root           other
/dev/sda3       /root/usr       stuff
/dev/sda4       /root/home      here
proc            /proc           ...

and that I needed to change it to get rid of the "root" part.  Before
I did this, I found that df and mount were unable to tell me anything
about my sysetem.  After this change, all was well.  Once I made this
change, the proc stuff started working as well.

Warner
--

I've almost finished my brute force solution to subtlety.

 
 
 

SLS 1.03 Problem: /proc not mounted at boot time?

Post by David Truckenmill » Thu, 12 Aug 1993 05:25:23




>Truckenmiller) writes:
>>I found that it worked only when I had /proc after the root
>>file system in my /etc/fstab.  Don't know if there was something
>>else wrong though, I was changing so many things at the same
>>time I could hardly see straight.
>I found that my /etc/fstab was written like
>/dev/sda1   /root           other
>/dev/sda3   /root/usr       stuff
>/dev/sda4   /root/home      here
>proc                /proc           ...
>and that I needed to change it to get rid of the "root" part.  Before
>I did this, I found that df and mount were unable to tell me anything
>about my sysetem.  After this change, all was well.  Once I made this
>change, the proc stuff started working as well.

Yep, that's what happened to me as well.  I think that is why I
"didn't like it" and got my old version.  Things were very strange
when this happened, since the root wasn't mounted, so ls wasn't
found, etc.  I remember now manually mounting / and then things
got better.  No wonder I couldn't see straight!  

BTW, I loaded from Harddisk option, where I had placed the entire SLS
distribution on a filesystem in the directory install.  The doinstall
scripted asked me for the parition name, and everything loaded from
there, (no diskettes, no DOS filesystem, etc), very nice.

So, someone at SLS needs to be notifed that the fstab is munged.
How do we do that?  (short of reading the directions in the README
that explains how to do it? :-))

-Dave
--
---

Linux, Linux, Linux, Linux, Linux, Linux.     [ under development ]

 
 
 

1. SLS 1.03 problem making usable boot disk...

Despite making a serious effort to RTFM and experiment quite a bit, I am
unable to make a bootable floppy for SLS 1.03...The floppy is made w/o
complaint at the end of the install, but when I attempt boot it, I get
messages something like:

loading....
uncompressing linux....
invalid compressed format...
-system halted

The SLS distribution came from tsx-11.mit.edu and was installed from c:\
install w/o complaint...The disk has 3 partitions:

/dev/hda1 100MB dos
/dev/hda2 ~200MB root
/dev/hda3 16MB swap

mke2fs and mkswap showed a few bad block/pages, but no complaints otherwise

I then ran doinstall /dev/hda2 and specified harddisk /dev/hda1 to install
from...At the end, when I insert the pre-formatted floppy, answered
questions about preset video, modem, mouse, etc...When I was done, neither
the new floppy nor the harddisk were bootable...The only thing I could boot
was the install boot diskette (a1.5)...

Any help/suggestions would be greatly appreciated...E-mail replies
preferred...

Terrance M. Darcey, PhD

2. M$ OE5 and Linux

3. SLS 1.03 boot problem

4. Follow-up to Dual Athlon XP MP board problems

5. SLS 1.03: Problems making boot disk

6. /dev/ptmx problem

7. Q: SLS 1.03 + Seagate SQ-01 Prob: "SCSI host timed out" - Why?

8. Separate, confidential mail for 2 on 1 account

9. SLS 1.03 and mount -av

10. How to upgrade from SLS 1.03 to SLS 1.05

11. SLS 1.02 -> SLS 1.03 how?

12. SL/IP for linux SLS 1.03

13. Boot disks a1.3 and a1.5 missing in new SLS version 1.03