Repartition Redhat Linux drive

larva

Member
Jul 15, 2001
185
0
0
Hi guys,

I m running out of space for my /home directory. But my /backup dir still left 30GB. I want to repartition the /home dir to get like 20GB space from /backup directory. How can I do it ? Thanks !

regards,

Larva
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
most painless way is to just back up your stuff, repartition and format, then restore your data. remember to make any necessary changes to /etc/fstab.
 

DaHitman

Golden Member
Apr 6, 2001
1,158
0
0
Or you can do it the lazy UNIX admin way..


1) mkdir /backup/home

2) mv /home/<myusername> /backup/home/<myusername> (repeat as needed for more users)

3) ln -s /backup/home/<myusername> /home/</myusername>


hehehe...
 

MOgeeks

Senior member
Jul 12, 2001
427
0
0
I have similar problem:

Can I used Norton Ghost 2001 to backup Linux partition?
If yes, how?

Do I need to backup every Linux partition(presently 3, min) and fdisk/format and restore each partition according(boot to boot, swap to swap etc)?
How do I format the linux partition to be linux file system before restoring the data? I only know that when installing the Linux, the hard disk will be formatted.

Will the LILO work after restoring the partition? Presently, I am booting in from a floppy disk, dual with win98 and I restore the hard drive with only 1 OS, ie Linux, will it be able to boot directly into Linux w/o the floppy?

I am using Redhat 6.2.

Thanks. Any help appreciated.

 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< I have similar problem:

Can I used Norton Ghost 2001 to backup Linux partition?
>>


it works with ext2 but i dont remember how well.


<< If yes, how? >>


use it as you would a windows partition...


<< Do I need to backup every Linux partition(presently 3, min) and fdisk/format and restore each partition according(boot to boot, swap to swap etc)? >>


yes, but you dont need to back up your swap partition.


<< How do I format the linux partition to be linux file system before restoring the data? I only know that when installing the Linux, the hard disk will be formatted. >>


use cfdisk, partition it how you want and make them ext2 partitions, make a swap partition, and make the root or /boot partition (if you have one) bootable.


<< Will the LILO work after restoring the partition? Presently, I am booting in from a floppy disk, dual with win98 and I restore the hard drive with only 1 OS, ie Linux, will it be able to boot directly into Linux w/o the floppy? >>


you'll need to have lilo installed and have it write to the MBR on your hard drive.

personally i see no point in using ghost, just tar up your filesystem, back it up on CD or on another hard drive, and untar them back, edit fstab, and reinstall lilo in the MBR. i guess it might be complex if you're not comfortable with all that, but i dont think this is too tough. ghost just seems like overkill when you're just talking about one machine, and linux no less, where you already have the available tools for free.
 

larva

Member
Jul 15, 2001
185
0
0
Hi Guys,

if I link this directory with others as follows:
ln -s /backup/home/larva /home/larva
and when I do a search some files on /home/larva, will linux search for /backup/home/larva also ? Thanks !

Any partition tool to resize this drive ? Thanks !

regards,
Larva


 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |