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: (4) </ 1 2 3 [4] >/

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

reply to topic new topic new poll
Topic: Mounting, How do I mount?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: June 29 2006,01:51 QUOTE

Quote (IDK @ June 28 2006,17:02)
Here's another thing.
I copied the data from my original /home/dsl to /mnt/hda5/dsl
and mounted /mnt/hda5/dsl at /home/dsl, where does the original /home/dsl files go?
They still take up disk space...

They don't go anywhere...they're just unavailable.  The directory containing your original files is now being used as a mountpoint instead of a regular directory, so entering that directory sends you to the mounted device.  If you umount the partition, you'll have your old files back.

Try using the dsl home=hda5 boot option.  This will automatically set up your system to use that new directory as your home, and you don't have to mess with fstab or manual mounting, although you will first need to move the files to /mnt/hda5/home/dsl instead of /mnt/hda5/dsl


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





Group: Members
Posts: 24
Joined: June 2006
Posted: June 29 2006,07:55 QUOTE

from the above:

Boot from say the DSL cd or another partition, mount the hda2 partition on /mnt/hda2, then rename /mnt/hda2/home to say  /mnt/hda2/homesomething.

Reboot using /hda2 to see how the system responds. If it's ok rm the /homesomething dir.

Obviously backup your files before palying with the evil rm command.

The might be a simpler way of doing the above while still booted off hda2
Back to top
Profile PM 
IDK Offline





Group: Members
Posts: 22
Joined: April 2006
Posted: June 29 2006,11:52 QUOTE

I did as you said, jonh, but then at boot, it could't find /home

--------------
Niklas Ulvinge aka IDK
wishes you
happy proramming,
or whatever you do
Back to top
Profile PM WEB MSN 
john_spiral Offline





Group: Members
Posts: 24
Joined: June 2006
Posted: June 29 2006,12:02 QUOTE

looks like DSL needs /home/dsl to exist for the mount point to work.

try booting off cd, mount /dev/hda2 and create /home/dsl

hopefully this should work, please post your results.

If this does work you can remove /homesomething
Back to top
Profile PM 
IDK Offline





Group: Members
Posts: 22
Joined: April 2006
Posted: June 29 2006,12:25 QUOTE

thanks, that solved it!

--------------
Niklas Ulvinge aka IDK
wishes you
happy proramming,
or whatever you do
Back to top
Profile PM WEB MSN 
19 replies since June 21 2006,21:26 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 2 3 [4] >/
reply to topic new topic new poll
Quick Reply: Mounting

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