LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-23-2007, 04:15 AM   #1
bijit
LQ Newbie
 
Registered: Aug 2005
Location: India
Posts: 2

Rep: Reputation: 0
Repartitioning the Hard Drive.........


Hi all,

I need a help on resizing partition on a Fedora4 system (Its a remote system only ssh access possible). Currently my partition looks like the following.......

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 989M 126M 813M 14% /
/dev/hda5 4.9G 440M 4.5G 9% /usr
/dev/hda6 4.9G 195M 4.7G 4% /var
/dev/hda7 100G 276K 100G 1% /home
none 1009M 0 1009M 0% /tmp


# fdisk -l

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 128 1028128+ 83 Linux
/dev/hda2 129 383 2048287+ 82 Linux swap / Solaris
/dev/hda4 384 14593 114141825 5 Extended
/dev/hda5 384 1021 5124703+ 83 Linux
/dev/hda6 1022 1659 5124703+ 83 Linux
/dev/hda7 1660 14593 103892323+ 83 Linux


Now, what I want to do is delete the partitions on /usr, /var and /home. After deletion of all these partitions, allocate the free space to /. Thus, my new partition would have maximum space for / and around 1GB for /tmp. After that I would reinstall the OS.
But, the question is how do I accomplish this? From recue?? Even then how.... Please be noted when I reinstall the OS, I don't get the disk partitioning option..thus whatever I have to do regarding partitioning, it has to be done before reinstalling the OS.
Please let me know if anyone of you have answers to this.....

Regards,
Bijit
 
Old 07-23-2007, 05:51 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,983

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
The only way I can think of doing that is running a livecd like knoppix on the remote system and ssh into that and do whatever you want to the partitions.
 
Old 07-23-2007, 10:34 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, If you intend to reinstall and you don't mind losing all of your stuff, you should be able to burn a Gparted liveCD to partition your drive. Then you'd start from scratch.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repartitioning hard drive through cfdisk shivkiyer Linux - Software 22 07-19-2007 11:02 AM
Repartitioning Hard Drive MAndriva 2006 tfm1 Mandriva 8 08-28-2006 12:38 PM
Hard Drive Repartitioning lazeeboy Linux - Newbie 8 03-13-2006 01:35 PM
Hard Drive Repartitioning C&C Freak 2K Linux - General 1 05-20-2005 12:29 PM
repartitioning hard drive nicomon Linux - General 4 11-26-2002 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration