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: editing fstab< Next Oldest | Next Newest >
wizzleteet Offline





Group: Members
Posts: 2
Joined: Nov. 2005
Posted: Nov. 18 2005,09:57 QUOTE

Hi All,

first off, I *love* DSL.
I have a p166MMX laptop. I used to have a full fledged debian gnome desktop installed and  now... this thing is actually usable again !
So I'm really using DSl as a basis for a desktop install.
Now the problem:

I'm editing /etc/fstab b/c /home is on /dev/hda3
but during a reboot all edits are reversed.
Which is potentially dangerous, b/c in case of a dirty filesystem I must log in as dsl to perform a manual fsck, but I cannot log in without a homedir in place. With a misplaced DSL cd you're in trouble.

thx for help in advance,

wzzl

WHat gives
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Nov. 19 2005,02:26 QUOTE

You can add a mount function to your /opt/bootlocal.sh

DSL doesnt support EXT3..however if you have a reiserfs 3.0 (Some say 4.0 is buggy) it will automount and have journaling

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
dreamcarrior Offline





Group: Members
Posts: 17
Joined: Nov. 2005
Posted: Nov. 27 2005,10:10 QUOTE

AwPhuch,

May you explain how to add mount function in /opt/bootlocal.sh? Also in frugal install, if I have created swap at /dev/hda1, how do I add that in the fstab?

Thanks


--------------
1.. Dell 700m
1.8GHz, 2GB RAM, 100GB HD, Fedora 4, Gnome
2. P-4 3.06 GHz, 3GB RAM, ATA160GB HD, SATA 500/500 GB RAID1, Fedora 6, Gnome
Back to top
Profile PM YIM 
GuyFawkes
Unregistered






Posted: Nov. 30 2005,12:47 QUOTE

Ahoi,

I had same idea installing to HD and edit fstab which won't work . . .
So I looked here, found this thread and tried. This worked for me:

log in as root
mount /dev/hda3 to /mnt/hda3 (which is configured in every new fstab)
copy your dsl directory from /home to /mnt/hda3
change owner from root:root to dsl:users
edit /opt/bootlocal.sh and add the line:  mount -t ext2 /dev/hda3 /home
insert different filesystemtype as in case
reboot
. . . . . and it might work. THX 2 AwPhuch

I'm newbie to DSL too and decided to install today after testing a bit with the LiveCD, works great on my
Targa 600, Mobile PentiumMMX 233, 64MB RAM
ATI Rage LT-G with 2 (!! ;-)) MB

Upgraded the GNU Utils and enabled Apt.
THX for this great DamnSmallDistribution
Back to top
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Nov. 30 2005,17:27 QUOTE

Quote (Guest @ Nov. 30 2005,07:47)
Ahoi,

I had same idea installing to HD and edit fstab which won't work . . .
So I looked here, found this thread and tried. This worked for me:

log in as root
mount /dev/hda3 to /mnt/hda3 (which is configured in every new fstab)
copy your dsl directory from /home to /mnt/hda3
change owner from root:root to dsl:users
edit /opt/bootlocal.sh and add the line:  mount -t ext2 /dev/hda3 /home
insert different filesystemtype as in case
reboot
. . . . . and it might work. THX 2 AwPhuch

I'm newbie to DSL too and decided to install today after testing a bit with the LiveCD, works great on my
Targa 600, Mobile PentiumMMX 233, 64MB RAM
ATI Rage LT-G with 2 (!! ;-)) MB

Upgraded the GNU Utils and enabled Apt.
THX for this great DamnSmallDistribution

I would also recommend to do a "frugal" install to HD...
Thus you can add to your boot command the persistant /home and /opt directories..thus the data will be protected and you wont have to keep remounting..it will be automatic

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
4 replies since Nov. 18 2005,09:57 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: editing fstab

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