The Open Source Swiss Army Knife

/miscellany/
/miscellany/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /miscellany 
Permalink: redhat_upgrade.txt
Title: add
article options : please login   |  raw source view  

redhat file structure

  1. introduction

  2. grub problems

  3. cdburn problems

  4. moving partitions

introduction

I upgraded redhat at the same time that I moved my directory structure around on my partitions. Actually, I just wanted to to the latter, but I got so fucked up with installnig grub on the MBR and moving "/boot/" around I decided to upgrade and upload the boot loader at the same time.

The reason for the moving around of directories was that I was continually running out of space, notably in the 2G I had for /usr on my 20G drive.

failure of the initial plan

I had problems with grub for some unknown reason. I had to do the following:

a manual install. the "setup(hd0)" didn't actually install anything on the disk's MBR

bad cdburn

During the upgrade, I had a separate problem which was caused by a as the second disk of FEDORA was bad. (Of course this came out only more than half-way through the upgrade.)
I had to rebuild my database completely with rpm --rebuilddb as a result of the crash caused by the failure during upgrading.

Having to mid-upgrade cycle get a bootable linux and reburn a cd was no minor
underaking.

This was done by booting lots of times using "linux rescue" to change /etc/fstab and run the grub utility. This also required revisiting the grub problem.

moving partitions

I moved my partitions around transparently by changing /etc/fstab and using fdisk to change the bootable partition to the one where I moved boot to.

So, I switched /tmp and moved that back onto /
I split /usr into /usr and /usr/local (/usr/local/ was moved onto /dev/hde7 where /tmp previouslyhad been)

What I have now seems ideal for redhat. Yes, they throw lots of junk around.
but, I figure, with the following I have room to install EVERYTHING I install
by hand (meaning, via tarball like prime servers) in /usr/local which will be
left untouched by redhat upgrades.
--

FilesystemSizeUsed Avail Use% Mounted on
/dev/hde75.8G2.5G 3.1G 45% /
/dev/hde52.0G776M 1.1G 42% /home
none505M0 505M 0% /dev/shm
/dev/hde64.9G3.6G 1.1G 77% /usr
/dev/hde85.3G1.1G 4.1G 21% /usr/local

That uses 7.6 GB
that was accumulated over the course of 1 1/2 years of carefree installations
of lots of things from the net

And it leaves 9GB free yet.

This structure would be my recommended structure for a redhat system.


Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top