LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-24-2014, 04:44 PM   #1
jaws
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Rep: Reputation: Disabled
Question Debian boot installed on separate drive.


howdy I recently installed Debian for the first time using the net install, but now I found that I can't simply boot without the USB I used to install it with.

The USB in question includes these files, nothing is hidden.
ldlinux.sys
menu.c32
syslinux.cfg
ubninit
ubnkern

I can't remember what happened but is there a way to correct this without a reinstall? It took ages for me, but that was probably because of all of the encryptions.
 
Old 07-24-2014, 07:07 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Boot into Debian, then unplug the usb stick.

Open a terminal and su to root: enter the command su, the enter the root password.

Assuming you have only one disk, it's probably designated /dev/sda. As root, enter the command: grub-install /dev/sda

That will write the first stage of grub into the MBR of the drive along with the partition table.

Then reboot without the USB stick.
 
1 members found this post helpful.
Old 07-24-2014, 08:45 PM   #3
jaws
LQ Newbie
 
Registered: Jul 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thumbs up

Thanks
 
  


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
Installed Debian from DVD, now I can't access the drive/boot the OS? BoggyB Linux - Newbie 8 08-22-2012 08:30 AM
[SOLVED] Installed Debian on secondary hard drive, but can't boot Cramps Debian 4 07-03-2012 06:10 AM
Installed Windows on separate partition and now cannot boot Linux schulte3 Linux - Newbie 5 02-04-2010 02:46 AM
Transfering hard drive w/ linux from separate computer to dual boot with Windows comp SonicGT Linux - Newbie 1 03-18-2006 03:56 PM
just installed Gentoo on separate hard drive, dual boot question Gates1026 Linux - Newbie 10 05-04-2004 04:11 AM


All times are GMT -5. The time now is 12:46 PM.

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