LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-22-2009, 11:30 PM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Rep: Reputation: 16
grub - Debian setup guesses bad disk mapping between OS and BIOS ?


Hi,

I've just installed Debian 5.0 lenny on my test machine. And was unable to boot. I have centos installed using same config and it boots fine. So I checked /boot/grub/device.map and it was wrong.
So, what I should do now - edit device.map by hand and install grub again using debian setup ? Or install grub natively from boot floppy ?

thanks
Vilius
 
Old 02-23-2009, 12:40 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
You boot with the Debian install CD, and boot the rescue system. Tell it you want a shell, and it will chroot you to the Debian installation. Then you can either edit device.map, or just run grub-install and see what happens. Grub gets device.map wrong frequently enough, that it posts the contents of device.map after it's installed, and asks if it is correct.
 
  


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
can i reboot into bios setup from grub? dfong63 Linux - General 17 02-27-2018 09:52 PM
'GRUB hard disk error' : config or BIOS problem ? bcostacurta Linux - Software 3 12-19-2008 03:15 AM
Debian setup failing (Bad EIP value.) gardar Debian 7 09-12-2007 09:03 AM
BIOS and GRUB can't detect hard disk DC_Tsunami Linux - General 1 12-07-2005 03:16 AM
BIOS to GRUB/Linux Boot Slow After Disk Transfer donv2 Linux - Newbie 2 04-22-2005 11:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:40 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
Open Source Consulting | Domain Registration