Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th February 2012, 08:31 PM
LordDeath86 Offline
Registered User
 
Join Date: May 2011
Posts: 6
linuxfirefox
Changing partition layout with the Live CD

Hello everyone,

currently the hard-disk in my laptop is partitioned like in the attached image.
My plan is to boot from the live CD and use GParted to remove sda1 and assign all of its space to the other partitions.

This should be easy but I am still unsure about GRUB2 which sits currently in my MBR. After removing and resizing the partitions which commands do I have to execute to adjust GRUB2 to the new partition layout? Will be my current sda2 the new sda1?
And will be the current F16 installation be able to boot if sda2, sda5, sda6 or sda7 have new numbers?

This whole GRUB-thing is still a mystery for me so thx in advance for any help.
Attached Thumbnails
Click image for larger version

Name:	Bildschirmfoto am 2012-02-14 21:18:02.png
Views:	46
Size:	69.5 KB
ID:	22691  
Reply With Quote
  #2  
Old 15th February 2012, 01:13 AM
JamesNZ's Avatar
JamesNZ Offline
Registered User
 
Join Date: Aug 2010
Location: Wellington, New Zealand
Age: 16
Posts: 889
linuxchrome
Re: Changing partition layout with the Live CD

I think you should run this command after changing the layout:
Code:
grub-mkconfig -o /boot/grub/grub.cfg
That will generate a new configuration for grub based on your partitioning scheme. Not 100% sure about that though, use at your own risk
__________________
"For what is a man profited if he gains the whole world, but loses his own soul?"

- Jesus
Reply With Quote
  #3  
Old 15th February 2012, 01:48 AM
GoinEasy9's Avatar
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,581
linuxfirefox
Re: Changing partition layout with the Live CD

Isn't it:

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
Fedora keeps grub.cfg in /grub2, heh, I also run Debian Sid and Debian keeps grub.cfg in /grub.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
Reply With Quote
  #4  
Old 15th February 2012, 03:15 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,112
linuxfirefox
Re: Changing partition layout with the Live CD

Logical partitions always start from 5 - notice how partition numbers 3 & 4 have been skipped
in your current layout - and that won't change no matter what you do to preceding partitions.

The Fedora default is to use UUIDs, which will not change even when the position number of a
partition changes. So you should always use UUIDs instead of /dev/sdxx, which will change when
you repartition primary (1-4) partitions.
Reply With Quote
Reply

Tags
changing, layout, live, partition

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing the keyboard layout scorpio2002 F15 Development 2 20th April 2011 10:27 PM
Changing keyboard layout in NetBeans IDE (Gnome) kovshenin Using Fedora 1 16th February 2009 10:12 PM
Trouble changing keyboard layout thiagor Using Fedora 6 29th January 2009 07:42 PM
F9 Live Keyboard Layout jaygeefed Hardware & Laptops 2 10th December 2008 08:57 AM
partition layout segestions -- for what i want to do steve941 Using Fedora 3 14th September 2006 05:01 PM


Current GMT-time: 11:14 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat