I'm pulling an older smaller Hdd out of my box. /var is on it's own partition on that drive (hda2). What is the easiest way to move it to the larger drive on which the rest of my system lives and modify my fstab so I don't get hung trying to start logging in the boot up like I did on my last 2 attempts at the move? Way more than you need I think?: ------------------------------------------------------------------------ [nick@xxxxxxxxx nick]$ cat /etc/fstab LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/var /var ext3 defaults 1 2 /dev/hdb5 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 00 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 /dev/hdb1 /mnt/win auto 0 0 [nick@xxxxxxxxx nick]$ sudo /sbin/fdisk -l Disk /dev/hda: 255 heads, 63 sectors, 524 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 183 1469916 b Win95 FAT32 /dev/hda2 463 524 498015 83 Linux /dev/hda3 197 462 2136645 b Win95 FAT32 Partition table entries are not in disk order Disk /dev/hdb: 255 heads, 63 sectors, 2491 cylinders Units = cylinders of 16065 * 512 bytes Device Boot Start End Blocks Id System /dev/hdb1 * 1 2133 17133291 c Win95 FAT32 (LBA) /dev/hdb2 2134 2146 104422+ 83 Linux /dev/hdb3 2147 2426 2249100 83 Linux /dev/hdb4 2427 2491 522112+ f Win95 Ext'd (LBA) /dev/hdb5 2427 2491 522081 82 Linux swap [nick@xxxxxxxxx nick]$ df -l Filesystem 1K-blocks Used Available Use% Mounted on /dev/hdb3 2213700 1934268 166980 93% / none 127692 0 127692 0% /dev/shm /dev/hda2 482249 69683 387666 16% /var /dev/hdb1 17124896 16966336 158560 100% /mnt/win ------------------------------------------------------------------- Any pointers or directions to some reading material would be much appreciated. Thanks nick -- Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
Attachment:
signature.asc
Description: This is a digitally signed message part