LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2012, 02:25 PM   #1
eldiener
Member
 
Registered: Nov 2006
Distribution: Mepis, CentOS, OpenSuse
Posts: 106

Rep: Reputation: 17
Moving root partition when using grub2


I have a Linux distro with separate /, /boot, and /home partitions, with grub2 installed in the /boot partition and a separate multi-boot partitioner manager in the MBR. This setup works correctly.

If in the particular Linux distro I move the root partition, of course keeping the same UUID for it, will grub2 still find my root partition and boot correctly ?

I know that under the old grub, if the menu.lst entry used a UUID to point to the root partition in the 'kernel' startup line, everything worked even when I moved my root partition.

Needless to say my fstab entries use UUIDs also to mount the correct partitions.
 
Old 10-08-2012, 04:32 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Yes, it should.

Grub2 can have problems when the partition where the core.img is imbedded is moved - not an issue in your case.
 
  


Reply

Tags
grub2, move, root, uuid


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
[SOLVED] Grub2, moving /boot to separate partition qrange Linux - Software 8 10-25-2011 12:33 PM
How to move Grub2 from mbr to root partition BillD Linux - Software 3 03-17-2011 07:07 AM
[SOLVED] How to fix grub after moving root partition? gandrusz Linux - Newbie 21 05-16-2010 01:22 PM
moving /home /root & /var to new partition CrashedAgain Linux - General 8 11-24-2005 11:44 AM
moving root / partition on Slack 10.0 mrhide Slackware 3 04-06-2005 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 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