Mounting HDDs
Ok I currently got 2 windows partition, one fat32 and one NTFS... And I just made another linux partition in ext3 so i got two ext3 now.. So how do I mount my windows partitions and the ext3 linux partition i just made.. I want to use the new ext3 partition i made as a usr partition..
- Thanks :).. |
starting with the wins fat32...
Im going to post this as though the fat32 filesystem is on partition hdb1, and you want to mount it to /mnt/wins_fat32... Code:
mkdir /mnt/wins_fat32 Code:
/dev/hdb1 /mnt/wins_fat32 vfat defaults 0 0 Code:
mount /mnt/wins_fat32 Code:
mkdir /mnt/wins_ntfs Code:
/dev/hdb2 /mnt/wins_ntfs ntfs defaults 0 0 Code:
mount /mnt/wins_ntfs On to ext3... Im not sure of the implications of mounting that partition as /usr if you already have a /usr filesystem on the / filesystem. I don't know if you want to even try. here's how you'd mount it as just extra storage. I am assuming that the ext3 filesystem is on the hdb3 partition, and you want to mount it to /mnt/linux_ext3 ... Code:
mkdir /mnt/linux_ext3 Code:
/dev/hdb3 /mnt/linux_ext3 ext3 defaults 0 0 Code:
mount /mnt/linux_ext3 Code:
/dev/hdb3 /usr ext3 defaults 0 0 maybe someone else could shed a bit more light on that for ya. hope this helps... linux_terror |
If u mount that file system (ext3) on /usr you will run into problems. You already have a directory /usr that has a lot of commands, libraries and such in it. Mounting your new filesystem to /usr will bury the use of those commands and such under the new file system. Your system will be useless when that is mounted. You should backup what is in /usr now, then mount then restore that backup to the new /usr. (If you can) I am thinking mounting an empty filesystem over /usr could quite possibly be the last thing you ever do on that system until you reboot.
|
here's my /etc/fstab
Code:
/dev/hda6 swap swap defaults 0 0 |
Use System Rescue CD or any other live CD and move the stuff from the original /usr over to the new partition. Then edit the fstab file on the root partition to add support for the /usr partition. Then reboot. Hopefully it works :p . If not, reboot with the live CD and undo your changes.
|
All times are GMT -5. The time now is 12:41 PM. |