LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 01-12-2006, 05:14 PM   #1
st1cky_rice
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Rep: Reputation: 0
after installer install no Debian kernel to boot in GRUB


Hi everyone,

I tried to install Debian AMD64 on my HP laptop using the business-card-sized installer. Everything went smoothly until the reboot: on my GRUB menu there was only a listing for "other operating systems", which in my case is Windows xp. I can boot into windows fine...what might be the problem, and is there anything i can do to "find" my Debian installation again?

Thanks!

MH
 
Old 01-12-2006, 11:20 PM   #2
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: my own Debian creation :)
Posts: 876

Rep: Reputation: 40
use a knoppix disk to correct the /boot/grub/menu.lst (or whatever the config file is called in your distro).

a correct debian grub file needs the full kernel name, and initrd name as well... which you should find in your os's /boot dir.

there are plenty of examples of a 'good grub' file, one if which should be right on the knoppix disk.

here is mine:

default 0
timeout 15
color cyan/blue white/blue
foreground ffffff
background 0639a1
#gfxmenu /boot/grub/boot.xpm.gz

title MAIN Debian Sarge - ver. ALL on hda7
root (hd0,6)
kernel /boot/vmlinuz-2.6.12-1-386 root=/dev/hda7 ro noapic nomce noapci
initrd /boot/initrd.img-2.6.12-1-386

title Knoppix 3.9 LiveCD
root (hd0,1)
kernel /boot/isolinux/vmlinuz-2.6.11 root=/dev/hda2 ro lang=us APPEND ramdisk_size=100000 init=/etc/init apm=power-off
initrd=/boot/isolinux/initrd.img-2.6.11

title Knoppix LiveCD From HD Install - kernel 2.6.11
root (hd0,1)
kernel /boot/vmlinuz-2.6.11 root=/dev/hda2 ro ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce
initrd /boot/initrd.img-2.6.11

title Backup of MAIN Debian Sarge- all Versions on hda6
root (hd0,5)
kernel /boot/vmlinuz-2.6.12-1-386 root=/dev/hda6 ro noapic nomce noapci
initrd /boot/initrd.img-2.6.12-1-386

title Windows at hda1
rootnoverify (hd0,0)
chainloader +1

---end of my menu.lst from grub.

* note the first line for linux always has the actual partitian one # less than the actual one... so 1 would be 0, 2 would be 1, etc.

good luck.
 
Old 01-13-2006, 03:35 PM   #3
st1cky_rice
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Hey thanks a bunch Halvy! Just a couple more questions: I tried to use Knoppix to rewrite the menu.lst file, but the system told me i did not have the permission to. So I tried to "chmod 666 /mnt/hda3/boot/grub/menu.lst", the system said that file is read only. So how did you manage to rewrite the menu.lst file?

I picked up a copy of "Linux Cookbook" and under the "Discovering boot parameters from the GRUB command shell" it told me how to find root devices and kernel images. I found my root partition on (hd0,2) with no problem, however when I tried "kernel /boot/vmlinuz <tab>" to find the correct parameters for the boot kernel, I got a error message: "Error 15: File not found".

Does that mean the kernel is not installed on my system at all?

Help...
 
Old 01-13-2006, 05:28 PM   #4
halvy
Member
 
Registered: Aug 2005
Location: Boston Massachussets, USA
Distribution: my own Debian creation :)
Posts: 876

Rep: Reputation: 40
i'm not familiar with a 'business card' install.

that may where your problem originated with.

i'd be careful about trying again with that approach since it didn't do tooo well the first time.

i know some folks will say it was your fault, but i still beleive a good programmer will protect users from themeselves as much as possible.

eo /rant.. lol

knoppix is good for somethings, but try here for a livecd with grub the installer

http://www.sysresccd.org/systools.en.php

i'v never used it, so don't yell

you need to look and see if your boot files are still there.

it is always better to NOT use links when using grub.

if you want to try lilo (boot loader), knoppix has it.. but i only remember nightmares trying to get it to work from the dvd drive.

keep us tuned in..
 
Old 01-16-2006, 03:42 PM   #5
st1cky_rice
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I downloaded the daily build of the business card installer and everything went OK this time! Maybe it's just a bug in the beta 1 version...

Thanks for being there
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB Triple Boot XP FC3 Debian/Knoppix HD Install boyfromthedwarf Linux - Software 4 12-02-2004 08:31 AM
Debian-Installer RC1 Freezes - Grub Igman Debian 5 08-21-2004 11:46 AM
SuSe 9.1 installer stops in Grub on first boot alancook Linux - Newbie 1 07-24-2004 07:16 AM
Debian Install from new installer buyer262000 Linux - Newbie 2 05-19-2004 08:16 AM
dual boot & debian installer w42w42 Debian 4 02-21-2004 11:41 PM


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