editing fstab


Forum: HD Install
Topic: editing fstab
started by: wizzleteet

Posted by wizzleteet on Nov. 18 2005,09:57
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

Posted by AwPhuch on Nov. 19 2005,02:26
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

Posted by dreamcarrior on Nov. 27 2005,10:10
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

Posted by GuyFawkes on Nov. 30 2005,12: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

Posted by AwPhuch on Nov. 30 2005,17:27
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

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.