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
 

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

reply to topic new topic new poll
Topic: sda1 is not mounted automatically< Next Oldest | Next Newest >
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 17 2007,08:35 QUOTE

Hello,

I tried to configure a persistant home on my sda1 USB stick.
The sticks is found when booting, but it is not mounted ... so it cannot be used as home.

No wonder, because sda1 is listed in fstab with the option "noauto" ...
"ADDED by Knoppix"

How can I ever change fstab???

(I use DSL booting via PXE ... may be, that could be the reason ???)
I vaguely remember that I had to edit the file "linuxrc", when perparing the PXE installation  ..

Any ideas?

Rigas
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 17 2007,14:23 QUOTE

Did you try using the home=sda1 cheatcode?
If you wish to edit fstab, you can boot with nofstab and restore your own.
If you wish to use linuxrc, you probably can also do that...

It's not specific to your setup because, in general, DSL does not mount partitions automatically.
Back to top
Profile PM 
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 17 2007,16:39 QUOTE

Thanks for your answer,

so I try the follwing:

unzip my minirt24.gz file and mount it on a loop device.
Inside is the /etc/fstab, that I want to use. Edit it.
Create a directory /mnt/sda1 as a mountpoint.
unmount.
gzip minirt24
Add boot options "nofstab" and "home=sda1" ... to the PXE default booting config file.

.. just did it:


It boots and uses my fstab file.
But when it tries a chown for /home/dsl/ ...

and has no permission and asks for a password (which I do not have ...)

Any ideas?

Rigas
Back to top
Profile PM 
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 17 2007,16:52 QUOTE

Next retry:

same scenario, but without option "home=sda1"

Boots without problems, but the sda1 is not automatically loaded.
I have the following entry in the fstab:

/dev/sda1 /mnt/sda1  vfat user,exe 0 0

Is there something missing for

a) mounting sda1 while booting
b) being able to use /home/dsl on sda1 as home for the dsl user.


Rigas
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 17 2007,20:44 QUOTE

There is no need to use the bootcode if you are editing fstab.  Pick one.
Using the home bootcode will basically try to use sda1 as /home.

Change the mountpoint to /home or /home/dsl ?  Pick one.
If you need to set a password for root, you can use passwd or boot with secure.
But since you are using a FAT type partition, the real problem is probably that it doesn't support changing permissions on it. You might be able to use uid/gid etc. on the fstab line.
Back to top
Profile PM 
4 replies since May 17 2007,08:35 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: sda1 is not mounted automatically

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