LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-04-2014, 04:17 PM   #1
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Currently Mint
Posts: 655

Rep: Reputation: 30
Experiment: boot on sdg vs sdg1


I installed 64bit Debian 7.6 on a 16 GB USB flash. It is labeled sdg. Upon installing it, I placed grub into sdg but not in any specific partition.

I have an identical USB flash that will contain a clone (or image) of the original USB flash. It will be labeled sdh. When I create it (by clone or image from sdg) grub will be on sdh but I will want it on sdh1.

Questions:

1) How can I safely move a grub install from sdh to sdh1?

2) The device (sdh) will have only 1 partition (sdh1) for simplicity. After relocating grub to sdh1, I want to image sdh1 and install (restore) that image to third 16 GB USB flash. Will that third USB flash be bootable after doing so?
 
Old 10-04-2014, 06:23 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,385

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
Installing to "/dev/sdg" or "/dev/sdh" will install Grub to the master boot record of that drive. Installing it to sdh1 will install Grub to the IPL of partition one (sdh1) and you will then need to boot from some other drive which has Grub in the mbr. So if you have Grub on your "third 16GB" flash drive, you will need to put an entry in its grub menu file for the install on sdh1.
 
Old 10-04-2014, 11:30 PM   #3
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Currently Mint
Posts: 655

Original Poster
Rep: Reputation: 30
So, all booting must ultimately start from an mbr (master boot record). Is that correct?
 
Old 10-06-2014, 03:45 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
For most users the answer is yes. In the real world no.

If you are brave then http://www.troubleshooters.com/linux...bpartition.htm
 
Old 10-07-2014, 09:13 AM   #5
MBA Whore
Member
 
Registered: May 2006
Location: Kansas City, MO
Distribution: Currently Mint
Posts: 655

Original Poster
Rep: Reputation: 30
Thank you.
 
  


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
You ARE Being Watched: A Little Experiment sundialsvcs General 125 12-22-2015 01:17 PM
file -s /dev/sdg1 output: reserved3 0x800000 twelvenine Linux - General 3 05-14-2012 08:20 AM
what controller are sda and sdg on? Present Linux - Hardware 1 10-13-2007 02:51 PM
My experiment dillydobbs LinuxQuestions.org Member Intro 16 10-04-2005 10:06 PM
experiment LinuxOnEarth Linux - General 1 11-25-2004 06:22 PM

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

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