GnomeProject
07-08-2003, 04:40 PM
For those of you that are thinking there are numerous posts on this subject and that I haven't read them all, well I have and this is indeed a novel question, so there, ;-p.
Alright, now for my question. Well I have a brand new external USB hard drive that now holds my old laptop hard drive with existing Linux partitions (ie. / , /boot, and swap). Now, my question is, how can I delete that swap space and the boot sector and create a new partition with that area of the drive and conserve the existing / directory??? Then, I want to take these partions and automount them when my laptop starts up??? Any suggestions? I probably have to make some sort of symlink or alias to the / partition since I already have one on my current laptop hard drive, don't I? Thanks for all your suggestions. Below you will find my current drive configuration and fstab file:
FSTAB:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda6 swap swap defaults 0 0
/dev/sda /mnt/usbdrive ext3 user,auto,rw 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
and now for the hard drives:
/dev/hda
/dev/hda1 /boot (1)
/dev/hda2 / (1)
/dev/hda3 /var
/dev/hda4
/dev/hda5 /usr
/dev/hda6 swap (1)
/dev/hda7 /home
/dev/sda
/dev/sda1 /boot (2)
/dev/sda2 / (2)
/dev/sda3 swap (2)
Thanks all!!!
-Adam
BTW: This is my 100th post!!!!!
Alright, now for my question. Well I have a brand new external USB hard drive that now holds my old laptop hard drive with existing Linux partitions (ie. / , /boot, and swap). Now, my question is, how can I delete that swap space and the boot sector and create a new partition with that area of the drive and conserve the existing / directory??? Then, I want to take these partions and automount them when my laptop starts up??? Any suggestions? I probably have to make some sort of symlink or alias to the / partition since I already have one on my current laptop hard drive, don't I? Thanks for all your suggestions. Below you will find my current drive configuration and fstab file:
FSTAB:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/hda6 swap swap defaults 0 0
/dev/sda /mnt/usbdrive ext3 user,auto,rw 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
and now for the hard drives:
/dev/hda
/dev/hda1 /boot (1)
/dev/hda2 / (1)
/dev/hda3 /var
/dev/hda4
/dev/hda5 /usr
/dev/hda6 swap (1)
/dev/hda7 /home
/dev/sda
/dev/sda1 /boot (2)
/dev/sda2 / (2)
/dev/sda3 swap (2)
Thanks all!!!
-Adam
BTW: This is my 100th post!!!!!