LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-17-2012, 10:02 AM   #1
Chris73
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Rep: Reputation: Disabled
New Debian install will only boot from USB stick?


Hello Everyone,

I'm wondering if anyone else has had this problem. I recently installed Debian Squeeze (Stable) onto my ATA hard drive...completely wiping out my Windows OS ( I did that on purpose ) I chose the total disk install, but when I check disk utility it's showing that I have 3 extensions? Other than that, the install seemed to go flawlessly, but now the only way that I can get debian to boot is if I have the USB stick plugged in. I've checked the boot settings in BIOS, and when I set it to boot from the ATA hard drive, all I get is a black screen with a flashing cursor. I then plug in the USB stick and reset the BIOS to boot from that and it goes just fine. After Debian boots, I can remove the USB stick and everything still works fine. But will not boot up again without the stick plugged in.

I've searched through the forums and I'm thinking it's either a partitioning problem, or something isn't configured right with the ATA hard drive. In case anyone is wondering I have Grub 1.98 installed. At least that is what it's telling me when I type (as root) grub-install -v. Maybe I'm booting from the wrong area? I'm totally confused as to how to fix this.

Can anyone share a link with me as to how to fix this, or explain what you may have done to fix it? I've read that ATA's sometimes don't end up getting installed correctly?

Thanks,

Chris73

Last edited by Chris73; 01-17-2012 at 03:49 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-17-2012, 10:59 AM   #2
celthunder
Member
 
Registered: Feb 2009
Location: Newton, WI
Distribution: Arch
Posts: 84

Rep: Reputation: 8
once booted go to a root terminal

grub

root (<yourhd(likely hd0,(yourbootpartition again if you're on a normal setup 0)

setup (hd0 (again use the appropriate hdd))

exit

example standard is

grub
root(hd0,0)
setup (hd0)

reboot and see if it works btw taht's to mbr if you want to first partition just add that to your setup command. edit: not sure the root bit MAY not be needed...i usually set it though..doesn't hurt
 
Old 01-17-2012, 11:13 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,619
Blog Entries: 2

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
Quote:
Originally Posted by celthunder View Post
once booted go to a root terminal

grub

root (<yourhd(likely hd0,(yourbootpartition again if you're on a normal setup 0)

setup (hd0 (again use the appropriate hdd))

exit

example standard is

grub
root(hd0,0)
setup (hd0)

reboot and see if it works btw taht's to mbr if you want to first partition just add that to your setup command. edit: not sure the root bit MAY not be needed...i usually set it though..doesn't hurt
AFAIK, this will only work with Grub legacy, not Grub2.

To the OP: Boot the system with the stick attached, then remove it. Now determine which is your internal disk, you can use
Code:
fdisk -l
(lowercase L, as root)for that. Once you know the descriptor of the disk you can install Grub to to it.
Let's assume that your system's disk is /dev/sdb, than you can install Grub with
Code:
grub-install /dev/sdb
Now try to reboot.
 
2 members found this post helpful.
Old 01-17-2012, 11:15 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,796

Rep: Reputation: 323Reputation: 323Reputation: 323Reputation: 323
Since Chris73 is using Squeeze, he should use the appropriate command for grub2:
Open a terminal, and, as root, grub-install /dev/hda.
Code:
sudo grub-install /dev/hda
(supply the root password when prompted).

PS: TobiSGD beat me to it.

Last edited by bigrigdriver; 01-17-2012 at 11:16 AM.
 
2 members found this post helpful.
  


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
problems creating a usb stick to install debian mike11 Linux - Newbie 4 10-25-2011 12:28 AM
LXer: Install Debian Linux from USB boot memory stick LXer Syndicated Linux News 0 04-09-2010 07:10 AM
Installing Debian 4.r4 onto USB Stick FROM boot DVD charliebrown_au Linux - Newbie 2 09-17-2008 05:14 AM
I'd Like To Install Debian on a USB Flash Stick Vegetarian Smoker Debian 4 12-23-2006 10:58 AM
Debian base installed to usb stick, doesn´t boot boolean Debian 6 02-22-2005 01:41 AM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration