LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-14-2013, 08:32 PM   #1
Shiouen
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
[Grub] booting live usb sectors in an extended partition


Hey guys, as you can see in the title I've got a question for you today. This is also my first post on the forums!

First of all, this is how my external hdd looks like right now:
current state
(you may ignore the internal HDD windows 7)

EDIT: I managed to install grub2 on a primary partition (of ~50Mb) independently from any operating system. Configuring grub.cfg on my own (no auto-generation) did the job very well.

For people looking how to install gub independently like I did (Linux required, I used Ubuntu):
  • install the grub-pc package
    Code:
    sudo apt-get install grub-pc
  • add a partition using any tool you want. I used GParted from one of my ubuntu live usb sticks. label: Grub, space: no more than 50Mb, file system: ext2, flag as boot.
  • open up your terminal and invoke the following command:
    Code:
    sudo grub-install --root-directory=/media/Grub /dev/sd?
    where ? stands for the hard drive digit.
  • Hopefully the installation will be successful (otherwise make sure your hard drive is mounted) and you'll only have to do one more thing: create your own grub.cfg file in /media/Grub/boot/grub/ and set up your personal config.

eg: result

cheers

Last edited by Shiouen; 09-16-2013 at 06:15 AM.
 
Old 09-15-2013, 06:46 PM   #2
derekpock
Member
 
Registered: Apr 2012
Location: USA
Distribution: Elementary OS Luna
Posts: 83

Rep: Reputation: 4
Thread Marked as Solved. Removing from Zero Reply Threads.
 
  


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
How to Install Linux on an extended partition of a 2.5 Tb HD with 4096 sectors? patufet99 Linux - Hardware 6 02-03-2012 08:14 PM
booting from extended partition wiliamvw Linux - Laptop and Netbook 6 08-20-2010 05:20 PM
chainload extended partition with grub legacy mk27 Linux - Software 4 12-03-2009 08:30 PM
Can I uninstall grub from extended partition? yonatan1 General 7 03-13-2005 04:17 AM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 07:22 PM

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

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