LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2010, 06:33 AM   #1
yewint
Member
 
Registered: Dec 2009
Posts: 57

Rep: Reputation: 15
Resizing the file system


Hi everybody ..
I had window system on the other side of the HDD before. Now it was down and I dont want to repair and use it anymore. I want to format it and resize the linux system. How do I do? Reply me when you are free, please .
If I can get the step by step guide or doc , it would really be appreciated.

Thanks ..
 
Old 02-28-2010, 06:39 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Just boot from a live CD and use gparted to grow your linux partition into the space that was used by windows. It takes time (maybe 30 mins, depending on the size of your disk) but works well.
 
Old 02-28-2010, 06:40 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Download the GParted LiveCD and burn it to a CD. Next boot from that CD. Delete the Windows partition and next resize the Linux partition to include the free space. Make sure to have a backup!

Kind regards,

Eric
 
Old 02-28-2010, 07:28 AM   #4
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
thank you , I will try it now...
 
Old 02-28-2010, 07:30 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Ok, good luck and look twice before deleting a partition, just to make sure you delete the correct one.

Kind regards,

Eric
 
Old 02-28-2010, 07:32 AM   #6
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 388
Blog Entries: 9

Rep: Reputation: 88
if the windows partition was before the linux partition, on the hdd,
then wiping the M$ out will lose your Grub boot loader.

you will have to re-install it or the linux O/S.

or you won't be able to boot from the hdd.
 
Old 02-28-2010, 07:54 AM   #7
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pierre2 View Post
if the windows partition was before the linux partition, on the hdd,
then wiping the M$ out will lose your Grub boot loader.

you will have to re-install it or the linux O/S.

or you won't be able to boot from the hdd.
Oops ... I had window since before the linux! I m afraid of i am going to reinstall my linux sys. How should I do ?
 
Old 02-28-2010, 08:03 AM   #8
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

What distro of Linux do you have installed? To know which grub you are using, grub or grub2.

Once you delete the Windows partition, if it's the first one, then just as pierre2 said, you'll most likely be unable to boot.

To repair that you'll need a LiveCD to install grub again to the harddisk and let it detect installed operating systems. Since you'd only need Grub to make your system available again, you could also download SuperGrub and boot from that and let it fix the boot of Gnu/Linux.

Kind regards,

Eric
 
Old 02-28-2010, 08:26 AM   #9
yewint
Member
 
Registered: Dec 2009
Posts: 57

Original Poster
Rep: Reputation: 15
I have been using fedora10.
 
Old 02-28-2010, 08:44 AM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
if the windows partition was before the linux partition, on the hdd,
then wiping the M$ out will lose your Grub boot loader.
I do not think this is correct - grub should be on the MBR which is not part of any partition.

So just go ahead and use a live cd to delete the windows partition, and then resize the linux one.

As always, if you are not sure what you are doing, it's best to have a backup of your personal files.

Human errors are easy to make, but I have found gparted tp be 100% reliable.
 
Old 02-28-2010, 08:50 AM   #11
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

Also correct. If grub is installed on the MBR. OP doesn't know where it's installed and it's dangerous to assume it is on the MBR. If it is, all for the better, if it's not he'll need a LiveCD or the SuperGrub cd to reinstall Grub and have it detect the installed OS.

Kind regards,

Eric
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing KDE window locks system JoAnne Abbott Slackware 9 05-25-2008 06:50 PM
system hangs on resizing windows srastogi Linux - Newbie 1 01-28-2008 12:45 PM
Resizing FAT/NTFS on dual-boot system teufelhund Linux - General 7 01-28-2006 12:24 PM
Resizing ext3 partitions (/usr) [file system management] xxx_anuj_xxx Red Hat 5 11-29-2005 03:35 AM
resizing file system samad Linux - Newbie 0 03-27-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 AM.

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