LinuxQuestions.org
Help answer threads with 0 replies.
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 09-12-2010, 08:39 PM   #1
tony128
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Rep: Reputation: 0
Need to resize sda1 but sda2 & sda3 is between sda1 and unallocated space.


sda1 = root, sda2 = boot, sd3 = swap.
 
Old 09-12-2010, 08:40 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
So do it.

See link in sig.
 
Old 09-12-2010, 09:42 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
Copy the files from your boot partition (sda2) to a CD or USB stick. Delete sda2 and sda3, resize sda1 and create new partitions. You will need to re-install Grub after creating a new boot partition if you feel the need for a separate boot partition and have the files copied back to that partition.
 
Old 09-12-2010, 10:13 PM   #4
lostzinzthought
Member
 
Registered: Sep 2010
Location: USA
Distribution: Slackware13.1
Posts: 47

Rep: Reputation: 4
I'm not clear on why exactly this is a problem.
If you're using gparted or something similar, you should be able to do all if this with a few mouse clicks.

If you're trying to use command line tools, then it's a bit more difficult, and I'm not entirely comfortable giving advice on that, because I usually boot a live CD and use Gparted if I need to move or resize partitions.
 
Old 09-13-2010, 12:22 AM   #5
tony128
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Copy the files from your boot partition (sda2) to a CD or USB stick. Delete sda2 and sda3, resize sda1 and create new partitions. You will need to re-install Grub after creating a new boot partition if you feel the need for a separate boot partition and have the files copied back to that partition.
Ok I will try that when I get home. I have never had to manually install Grub so how would I do that?
 
Old 09-13-2010, 12:31 AM   #6
tony128
LQ Newbie
 
Registered: Sep 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lostzinzthought View Post
I'm not clear on why exactly this is a problem.
If you're using gparted or something similar, you should be able to do all if this with a few mouse clicks.
I am using gparted but sda2 & sda3 are in the way stopping me from extending the size of sda1. I had a 160Gb drive then used dd to 500Gb drive and the result is sda1 , sda2 ,sda3 then the rest of the drive as unallocated. I want sda1 to include the unallocated partition aswell.
 
Old 09-13-2010, 01:15 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,840

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
So why wasn't that info in the original post ?.
Go and read that link on how to ask a question.

Let's see a screenshot of gparted, or the output of "fdisk -l" from a terminal. Your profile doesn't include your distro (hint), so I can't be sure, but you may need root or sudo for that to produce anything.
 
  


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
Dev SDA1 causes low disk space lauraross Debian 22 06-30-2010 04:47 AM
Use fdisk to make sda2 sda1 mpmackenna Linux - General 1 01-25-2010 09:18 PM
dd'd $Wi%$&*@ws onto sda1 from hda1, how make it bootable? lugoteehalt Debian 13 04-22-2008 09:01 AM
sda1 to sda2 mount varun_saa Mandriva 8 02-22-2007 02:25 PM
How do I switch the labels "/dev/sda1" with "/dev/sda3" vonst Linux - General 10 05-27-2006 11:48 PM


All times are GMT -5. The time now is 10:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration