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: Editing fstab< Next Oldest | Next Newest >
Ian "Bill" Morris Offline





Group: Members
Posts: 11
Joined: June 2004
Posted: June 18 2004,12:47 QUOTE

I have done a hard disk install via floppy however with everything installed  disk space is tight.  I have plenty of ram so am going to forgo a swap partition (may create a swap file later)

This has however left me with 50mb of free space at the beginning of the Hard Disk which I have re-formatted to ext2

I have tried to ammend the fstab so that this is mounted as /home however when I re-boot dsl overwrites my changes and mounts it as /mnt/hda1

How do I stop this?

Cheers

Bill
Back to top
Profile PM MSN 
CappyCaffeine Offline





Group: Members
Posts: 64
Joined: Jan. 2004
Posted: June 19 2004,20:50 QUOTE

Simplist way I can think of is to use bootlocal.sh

1. delete or rename /home
2. create symbolic link for /home to your /mnt/hda1

I.E. put these lines into your bootlocal.sh

mv /home /home-back
ln -s  /mnt/hda1 /home

let me know if it works. I take no responsibility for the results! :)

Cappy
Back to top
Profile PM MSN 
Ian "Bill" Morris Offline





Group: Members
Posts: 11
Joined: June 2004
Posted: June 22 2004,16:27 QUOTE

Nice idea but unforunatly that is not going to work I am afriad.  /dev/hda1 is not mounted at boot time but is user mountable.  I suppose I could log in as root first then mount it but it is not an optimal solution. I really need to be able to ammend the fstab.  Ah well back to the drawing board.
Back to top
Profile PM MSN 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: June 23 2004,01:35 QUOTE

Why not resize your main partition to include the additional free disk space?

If you boot up a newer version of the KNOPPIX livecd, you can use qtparted to resize a partition:

(1) Boot up the KNOPPIX livecd
(2) Open up a terminal window.
(3) Type in the following:
sudo su
passwd
<Type in a 'root' passoword here>
exit
exit

Then choose QTPARTED from the user menu. Type in your recently created root password when prompted.

Good Luck.
Back to top
Profile PM 
Ian "Bill" Morris Offline





Group: Members
Posts: 11
Joined: June 2004
Posted: June 25 2004,15:16 QUOTE

Unfortunatly the laptop has no cdrom.  I had thought of this and looked into it using somthing like tomsrbt or another boot disk with gnuparted on but the free space is at the beginning of the disk as I had to do the cd-rom less install via floppys.  And GNUparted cannot resize free space at the start of a partition.  ie /dev/hda1 is free /dev/hda2 has dsl on it.  The only way I can think to use the space is to edit the fstab.
Back to top
Profile PM MSN 
6 replies since June 18 2004,12:47 < 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: 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