You are not logged in.

#1 2008-07-04 13:27:21

fragment1618
Member
Registered: 2008-07-04
Posts: 2

Partition used for /home mounted as /

I have the following partitions:

/dev/sda1 ext2 for /boot
/dev/sda2 swap
/dev/sda3 [extension]
/dev/sda4 ext3 for /
/dev/sda5 ext3 for /home

I had files on /dev/sda5 from previous linux installations (in such it was /dev/sda6).  During setup, I chose to format all partitions except /dev/sda5 and to mount /dev/sda5 at /home.

When I

ls /home

I get the same output as

ls /

When I umount and mount /dev/sda5 /home I get the same thing.

This is my fstab:

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=1576a482-a024-48eb-a2a9-710ad2ebfcde swap swap defaults 0 0
UUID=35a294ae-9c74-48fb-bb24-1af963cbe60f / ext3 defaults 0 1
UUID=7d71287a-cccc-4c58-aa10-859ab2678c3b /home ext3 defaults 0 1
UUID=d36bdb36-137d-4c1b-8e11-27d365b4edaa /boot ext2 defaults 0 1

Any ideas? :(

Last edited by fragment1618 (2008-07-04 13:29:05)

Offline

#2 2008-07-04 13:43:11

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: Partition used for /home mounted as /

you just said that sda5 used to hold a old linux installation right? which means it will still have EVERYTHING it had on it which will make it look like your / on the surface but if you really check things out it wont be your actuall root


dovie andi se tovya sagain

Offline

#3 2008-07-04 13:44:47

fragment1618
Member
Registered: 2008-07-04
Posts: 2

Re: Partition used for /home mounted as /

*Laugh*

Sorry, I wasn't clear enough.

On previous installations it was also mounted as /home, so it should only have lost+found and/or user directories.

Thank you for your reply.

Last edited by fragment1618 (2008-07-04 13:45:11)

Offline

Board footer

Powered by FluxBB