Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Out of space, fstab auto mounting error< Next Oldest | Next Newest >
Nils_Europa Offline





Group: Members
Posts: 18
Joined: July 2006
Posted: Sep. 09 2006,19:32 QUOTE

Hi there!

First of all, everything is relly great. This little distro makes my TP a
powerful and usable computer.

And here comes the "but" word...

I was such a fool, that I partitionated a 12 Gb hd to four parts, and hda2 where from dsl runs is only 400Mb large. hda3 is much greater and hda4 swap is too big. :(
I've run out of space, and I don't want to reinstall system. (You know my laptop
hasn't got any removable media at all and usb booting isn't supported.) Don't really want to resize partition... If you know a surely good utility for it and there is no other way to solve my problem then I'll give a try.

I've decided to use hda3 for /usr. I use grub,so I've edited a row in menu.lst with
nofstab option. For testing if my fstab is used at reboot I've set fsck priority to 2 at mounting line of hda3. Fsck reads hda3 clean. Problem comes, when removing noauto option or modifying it to auto.  In that case after X comes up hda3 isn't mounted and there is no way to mount it, /bin/mount exits with "too many mounted filesystems". To use hda3 as /usr I've tried to add a mounting command to /opt/bootlocal.sh, but that's not solving the problem by making some problems in X.

Now what?  :cool: Thank you!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 09 2006,19:45 QUOTE

What does your fstab look like?

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Nils_Europa Offline





Group: Members
Posts: 18
Joined: July 2006
Posted: Sep. 10 2006,05:21 QUOTE

/dev/hda2  /  ext2  defaults,errors=remount-ro  0  1
proc  /proc  proc  defaults  0  0
/dev/hda4 none swap defaults 0 0
/dev/hda3 /usr ext2 auto 0 2
/dev/hda1 /mnt/hda1 vfat noauto,users,exec,umask=000,uid=1001,gid=50 0 0
/dev/fd0  /floppy  vfat  defaults,users,noauto,showexec,umask=022  0  0
/dev/hdc1 /mnt/hdc1 auto defaults,users,noauto 0 0
/dev/sda1 /mnt/sda1 auto defaults,users,noauto 0 0
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 10 2006,14:03 QUOTE

It could be getting mounted with some unuseable options?  You have only "auto" as options, and I've never seen that done for a harddisk.  I would at least use "defaults" just to see if there is any change.

There's also the issue of errors...what specific error messages do you receive?  It's much easy to debug when we know what to look for.  It may be that the partition is not even being mounted.

And finally, does hda3 have the necessary files on it?  You should first mount the partition as a typical non-system device and copy the contents of /usr to /mnt/hda3, keeping file ownerships and permissions intact.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Nils_Europa Offline





Group: Members
Posts: 18
Joined: July 2006
Posted: Sep. 11 2006,09:19 QUOTE

"It could be getting mounted with some unuseable options?  You have only "auto" as options, and I've never seen that done for a harddisk.  I would at least use "defaults" just to see if there is any change."

I've tried with defaults at first time, the same effect. The fstab manual says,
that there is an "auto" option. By the way default is auto too.

"There's also the issue of errors...what specific error messages do you receive?"

Try to start up DSL without /usr directory, and you'll see. :D I don't remember exactly. It came up of course with runlevel 2, without /usrb/bin and /usr/sbin. So no su privileges at all, and so on. Tomorrow I need my machine working, but after that I'm going to record all the error messages if you like to.

"It's much easy to debug when we know what to look for.  It may be that the partition is not even being mounted."

That's the essence of my problem. Hda3 isn't mounted by fstab automaticly.

"And finally, does hda3 have the necessary files on it?  You should first mount the partition as a typical non-system device and copy the contents of /usr to /mnt/hda3, keeping file ownerships and permissions intact."

Of course I did that. That was the first thing I've done. :)

Why is it late to mount /usr from bootlocal.sh for getting into X?
Back to top
Profile PM 
6 replies since Sep. 09 2006,19:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Out of space

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code