how to implement my unused /var partition in FC4?

From: andrew (seawolf_at_scssi.org)
Date: 07/13/05


Date: 12 Jul 2005 21:37:41 -0700

Hello, all

when I was installing my FC4 recently, i had allocated a separate
(500MB) partition for /var, but somehow missed telling the installer
this, and ended up with a /var subdirectory of /(root)

short of doing a reinstall (which would be very time-costly for me),
how can I fix this?

Should the follow strategy work?

I tried the following once, but did not persist after it failed:

1) boot with linux rescue
2) mount my /dev/sda5 (the unused, intended /var) on a temporary
  mount point ( /sysimage/blah )

3) cp -Rp /sysimage/var /sysimage/blah

4) add the following to my /etc/fstab :
/dev/sda5 /var ext3 defaults 1 2

When I rebooted, the system hang
I had to go into linux rescue and delete the above fstab line, to get
back to "normal"

Would steps 1-3 be a sure thing, but maybe my fstab line was not
adequate? Like, i needed to use LABEL= ... Or is something wrong with
1-3 (as well)?

TIA

andrew



Relevant Pages

  • Re: how to implement my unused /var partition in FC4?
    ... :when I was installing my FC4 recently, i had allocated a separate ... :partition for /var, but somehow missed telling the installer ... :I had to go into linux rescue and delete the above fstab line, ...
    (linux.redhat.install)
  • Re: Hard drive setup...
    ... partition to another drive and dual boot it with the newly installed OS ... (provided this is done before installing any apps). ... you could anticipate the need to make an image backup in the ...
    (uk.comp.homebuilt)
  • Re: 1st Partition Linux, 2nd Partition Windows?
    ... bought a new hard disk on which I installed Redhat 9. ... Then I installed linux on the new harddisk and it worked fine. ... >>Deleting the first partition, (which i think not possible, since it is ... > and practice a little bit with it before installing Linux. ...
    (linux.redhat)
  • Re: Format Hard Drive
    ... I installed Linux Fedora tonight with no ... > first before installing linux, if you want two operating systems on the ... I'm getting a message that says I need to create a partition ... bootloader, whether it be lilo or grub, can boot the windows partition if ...
    (comp.os.linux.setup)
  • Re: Two new installations
    ... Seriously, try installing. ... > I installed Sure to the 12Gb partition which was the second partition. ... > just did a warm boot whenever it failed. ... a bad battery for the BIOS) but you insist on Linux. ...
    (alt.os.linux.suse)