Re: [newbie] Adding a partition
On Sunday 24 February 2002 02:14 am, Moshe Kaminsky wrote: Hi, I think that after you mounted the new partition as /home, it hides the previous /home directory that you had (since the desktop settings are stored there, this explains why your desktop has changed). I think that what you should do is unmount this directory (using 'umount'), move your /home directory to some other place (eg 'mv /home /home1'), then mount back, and then move the contents of (say) /home1 to /home ('mv /home1/* /home'). HTH Moshe Thank you for this advice. Unfortunately I believe through my attempts of getting this /dev/hda6 partition up and running I have corrupted it. Is there an easy was to check on it and to fix it? Thanks for the help. Sincerely, Marcia Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Adding a partition
Hi, I think that after you mounted the new partition as /home, it hides the previous /home directory that you had (since the desktop settings are stored there, this explains why your desktop has changed). I think that what you should do is unmount this directory (using 'umount'), move your /home directory to some other place (eg 'mv /home /home1'), then mount back, and then move the contents of (say) /home1 to /home ('mv /home1/* /home'). HTH Moshe * Marcia [EMAIL PROTECTED] [020222 21:31]: On Friday 22 February 2002 09:45, Kaj Haulrich wrote: Marcia wrote: Dear All, I meant to setup my partitions differently when I installed LM8.1. I ended up just mounting one small partition and now I would like to add or mount a partition to give my LM and vmware more room. I have about 8 GB's of disk space covering a masterIDE drive and slave IDE drive. I for some strange reason only mounted my /dev/hda1 partition which is a little over 2 GB's. I have a small swap partition then a /dev/hda6 partition that is over 4 Gb's formatted as linux native, then a slave drive /dev/hdb which is about 2 Gb's formatted as linux native. Neither of those partitions are mounted. I would like to mount and use /dev/hda6 but being the newbie I am I do not know the best way to do this without corrupting anything. What are the steps to take? Do I do this in DiskDrake, Linuxconf, or another way? I do not want to lose any data on the partitions. Any help here will be greatly appreciated. Thank you very much. Sincerely, Marcia Waller Marcia, if you run KDE, here's a newbie-way : Right-click an empty spot on your desktop, then select run command. This opens a box, whre you can type : kdf. Now, click run. You'll now see all your partitions, provided they are mentioned in /etc/fstab. Simply select a unmounted partition, rigt-click it and select the option : mount device. You can even open it in a file-manager right away. Here's the pro way : from a terminal, type : man mount and read carefully, taking notes ! Then, set aside ten minutes for drills, and you at least one inch taller ! If still unsuccesful, post your /etc/fstab file to the list. HTH Kaj Haulrich Thanks very much for your suggestion. Unfortunately , I jumped the gun yesterday and decided to go to the Mandrake Control Center and use Diskdrake to mount the already existing ext2 partion in /dev/hda6. I mounted it as the /home partition although I have a /home directory on my mounted /root partition at /dev/hda1. After I did this I could no longer launch Diskdrake and the run command above will not work. I can get to my /etc/fstab through the command line. Here it is: /dev/hda1 / ext2 defaults 1 1 none /dev/pts devpts mode=0620 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda6 /home ext2 defaults 1 2 /dev/hdd /mnt/cdrom auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,ro,noauto 0 0 /dev/fd0 /mnt/floppy auto user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto 0 0 /dev/hdc4 /mnt/zip auto user,iocharset=iso8859-1,umask=0,sync,exec,codepage=850,noauto 0 0 /dev/sda4 /mnt/zip2 auto user,iocharset=iso8859-1,umask=0,exec,codepage=850,noauto 0 0 none /proc proc defaults 0 0 /dev/hda5 swap swap defaults 0 0 My desktop changed without my changing it and I have not been able to print from applications now. My email address book changed, too, and alot of missing emails. I think I royally messed up a few things with some good ole newbie action. Could someone help me through this? My goal is to move my /home directory to my new /home partition on /dev/hda6 which is an ext2 formatted partition that I just mounted and named /home. I have been doing alot of reading about this and it sounds like using the tar command would be the best way to go. Any help with how to use it for what I want to do: move /home/marcia directory to /home partition- will be greatly appreciated. Could someone help me straighten out the mess I made plus accomplish what I was trying in the first place? Thanks for your help. Sincerely, Marcia Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Adding a partition
Marcia wrote: Dear All, I meant to setup my partitions differently when I installed LM8.1. I ended up just mounting one small partition and now I would like to add or mount a partition to give my LM and vmware more room. I have about 8 GB's of disk space covering a masterIDE drive and slave IDE drive. I for some strange reason only mounted my /dev/hda1 partition which is a little over 2 GB's. I have a small swap partition then a /dev/hda6 partition that is over 4 Gb's formatted as linux native, then a slave drive /dev/hdb which is about 2 Gb's formatted as linux native. Neither of those partitions are mounted. I would like to mount and use /dev/hda6 but being the newbie I am I do not know the best way to do this without corrupting anything. What are the steps to take? Do I do this in DiskDrake, Linuxconf, or another way? I do not want to lose any data on the partitions. Any help here will be greatly appreciated. Thank you very much. Sincerely, Marcia Waller Marcia, if you run KDE, here's a newbie-way : Right-click an empty spot on your desktop, then select run command. This opens a box, whre you can type : kdf. Now, click run. You'll now see all your partitions, provided they are mentioned in /etc/fstab. Simply select a unmounted partition, rigt-click it and select the option : mount device. You can even open it in a file-manager right away. Here's the pro way : from a terminal, type : man mount and read carefully, taking notes ! Then, set aside ten minutes for drills, and you at least one inch taller ! If still unsuccesful, post your /etc/fstab file to the list. HTH Kaj Haulrich Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Adding a partition
Dear All, I meant to setup my partitions differently when I installed LM8.1. I ended up just mounting one small partition and now I would like to add or mount a partition to give my LM and vmware more room. I have about 8 GB's of disk space covering a masterIDE drive and slave IDE drive. I for some strange reason only mounted my /dev/hda1 partition which is a little over 2 GB's. I have a small swap partition then a /dev/hda6 partition that is over 4 Gb's formatted as linux native, then a slave drive /dev/hdb which is about 2 Gb's formatted as linux native. Neither of those partitions are mounted. I would like to mount and use /dev/hda6 but being the newbie I am I do not know the best way to do this without corrupting anything. What are the steps to take? Do I do this in DiskDrake, Linuxconf, or another way? I do not want to lose any data on the partitions. Any help here will be greatly appreciated. Thank you very much. Sincerely, Marcia Waller Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] adding a partition to Mandrake 7.1
Using Mandrake 7.1 and KDE, I have several DOS partitions that are visible to me under Linux and that are automounted. There was one partition however that was not included. I tried to add it but did not succeed. The partition I want to be visible is a "second" primary DOS partition. (I have two primary C: partitions under DOS., both fat One is a NT4 system partition and the other a DOS 6.3/WIN system partition) Here is what I did: 1. I added a directory under /mnt that I named my_dos (full path /mnt/c_dos) 2. I then edited /etc/fstab by adding the following line: /dev/hda2 /mnt/c_dos vfat user,exec,umask=0 0 0 But when I click on the /mnt/c_dos directory, it is blank. No files. What else should I do? What did I do wrong? Thanks. -- Jeff Malka [EMAIL PROTECTED] Registered Linux User 348854
Re: [newbie] Adding a Partition
Lane Lester wrote: I'm running out of space on which I put everything except /boot. I've got another partition to which I'd like to move /usr, but I don't have a clue about how to do that. If there's a man page that explains it, just point me toward it. Or if you're feeling generous, just describe what I suspect are just a few steps. -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go... Do all the following as root (and be carefull!) first, create a new file system and copy your /usr dir partition to the new partition : mke2fs /dev/[new partition] mount /dev/[new partition] /mnt/tmp (cd /usr tar cpf - .) | (cd /mnt/tmp tar xpf -) umount /mnt/tmp then, mount your new partition to /usr : mv /usr /usr.old mkdir /usr mount /dev/[new partition] /usr finally, edit your /etc/fstab, and add the line /dev/[new partition]/usrext2defaults1 2 and WHEN YOU ARE SUR EVERYTHING IS OK, delete your old /usr directory: rm -rf /usr.old If you have further questions, I think that there is a hard-disk-upgrade-HOWTO (or ...-mini-HOWTO) HTH Flupke
Re: [newbie] Adding a Partition
Lane Lester wrote: I'm running out of space on which I put everything except /boot. I've got another partition to which I'd like to move /usr, but I don't have a clue about how to do that. If there's a man page that explains it, just point me toward it. Or if you're feeling generous, just describe what I suspect are just a few steps. -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go... Do all the following as root (and be carefull!) first, create a new file system and copy your /usr dir partition to the new partition : mke2fs /dev/[new partition] mount /dev/[new partition] /mnt/tmp (cd /usr tar cpf - .) | (cd /mnt/tmp tar xpf -) umount /mnt/tmp then, mount your new partition to /usr : mv /usr /usr.old mkdir /usr mount /dev/[new partition] /usr finally, edit your /etc/fstab, and add the line /dev/[new partition]/usrext2defaults1 2 and WHEN YOU ARE SUR EVERYTHING IS OK, delete your old /usr directory: rm -rf /usr.old If you have further questions, I think that there is a hard-disk-upgrade-HOWTO (or ...-mini-HOWTO) HTH Flupke
[newbie] Adding a Partition
I'm running out of space on which I put everything except /boot. I've got another partition to which I'd like to move /usr, but I don't have a clue about how to do that. If there's a man page that explains it, just point me toward it. Or if you're feeling generous, just describe what I suspect are just a few steps. -- Lane Lane Lester / Madison County, Georgia USA Using Linux to get where I want to go...