LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 09: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 02:49 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-17-2012, 09: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, 10:13 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 10:15 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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 10:16 AM.
 
2 members found this post helpful.
  


Reply



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

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

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