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 11-13-2016, 07:24 AM   #31
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Original Poster
Rep: Reputation: 50

Quote:
Originally Posted by goumba View Post
the Debian team has taken care of the chroot step for you. Boot your Debian installer CD/flash drive and select Rescue mode from the menu. It will then allow you to choose a device as the root device. Do so, and it will drop you into a chrooted environment.
I have done this and it has worked. Thank you very much!

The debian installer indeed has a rescue mode.
On the rescue mode it actually offers an option to install GRUB onto a device. Thus chroot is not required.
Unfortunately, it offered to install to sdb or sdg and I couldn't tell which usb was the target OS and which was the debian installer I was using. Since sdg had 2 partitions and sdb had only one - I guessed (rightly) sdb was the target OS.

On reboot, the usb loaded debian. So GRUB was successfully installed onto the MBR of the usb.
Clearly then, if I use debian installer to install an OS onto usb, then GRUB will fail to install onto the MBR of the device.
But I can then use 'rescue mode' on debian installer and install GRUB again onto the usb - and this time it will work.

Thank you again for your help!
 
  


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
[SOLVED] Debian USB Install: "No Boot Sector on USB Device" on laptop juju Debian 8 04-24-2015 04:29 PM
Debian USB install kushalkoolwal Debian 2 01-25-2009 06:33 PM
install usb printer in debian hellpos Linux - Hardware 0 08-03-2004 08:40 AM
How to install Debian from a USB CDROM kkempter Linux - Software 0 12-11-2003 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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