Partitions

From: Harley (harleyrci_at_earthlink.net)
Date: 02/29/04


Date: 28 Feb 2004 17:37:03 -0800

I've installed RedHat 9 <kernel 2.4.20...> on one partition /dev/hde1.
When I installed I had tons of free space left. Now I went back and
definded hde3 and hde4 partitions. I want to move /tmp to hde3
partition and /var to hde4 partition.

Device Boot Start End Blocks Id System
/dev/hde1 * 1 388 3116578+ 83 Linux
/dev/hde2 389 426 305235 82 Linux swap
/dev/hde3 427 1200 6217155 83 Linux
/dev/hde4 1201 2100 7229250 83 Linux

I've tried to copy all the file from /tmp and from /var to the other
partitions, after which I updated the /etc/fstab then rebooted.
However, I had system problems
after I brought my system up. First, X server could not start. Then my
system hung after a reboot. I finally had to comment out the line in
my fstab. Below is my fstab file. Can anyone give me guidence on how
to successfully move a filesytem to another partition.

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
/dev/hde2 swap swap defaults
 0 0
#/dev/hde3 /tmp ext3 defaults
 1 2
#/dev/hde4 /var ext3 defaults
 1 2
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto
noauto,owner,kudzu 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660
noauto,owner,kudzu,ro 0 0



Relevant Pages

  • Re: [SLE] SuSE 9.0 installed via FTP will not boot ...
    ... Please repair manually and reboot. ... Insert your rescue disk or #1 cdrom and restart the machine selecting ... Now you must/can check each partition from the command line with: ... to restart press Control+ D and it should restart. ...
    (SuSE)
  • Re: want to change /var/log partition to a directory in /var --help
    ... Device Boot Start End Blocks Id System ... > table while running you have to reboot anyway, ... > cannot reload the partition table while the disk is being used. ... Being in single user mode, ...
    (Debian-User)
  • Re: FAT32 Disk Consistency Check
    ... > checked and it booted to the regular Windows desktop. ... > this everytime I reboot and 5 minutes goes by and no progress is being ... partition drive as long as you don't do too many partitions. ... causes Autocheck to run on reboot. ...
    (microsoft.public.win2000.setup)
  • Re: [PATCH] X86: reboot-notify additions
    ... their out of tree blobs in an enterprise kernel. ... not stop one partition of a multi-partitioned system in a cavalier manner. ... NACK emergency_restart is for when calling a normal reboot doesn't ... couple of cases where no callback occurs from the reboot or panic lists. ...
    (Linux-Kernel)
  • Re: Windows XP Boot Up Problem
    ... Visit http://www.bootitng.com and download BootIt NG. ... bootable floppy, and reboot to that new floppy. ... partition manager, remove the floppy, and Reboot. ...
    (microsoft.public.windowsxp.setup_deployment)