LinuxQuestions.org
Help answer threads with 0 replies.
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 12-07-2004, 02:39 PM   #1
fester225
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Rep: Reputation: 0
Sarge NetInst Grub error-18


I have installed Sarge from NetInst. On reboot Grub gives error-18 and stops. This is supposed to be solved by creating a boot partition within the first 1023 cylinders of the hard-drive.

I've tried creating a partition called "/boot" during the install, but Debian won't install the kernal there. How do I get Grub to run?
 
Old 12-08-2004, 07:10 AM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,241

Rep: Reputation: 77
Maybe you could give more information like how big your /boot partition is, and what is in grub's memu.lst file. You will probably need a bootable disk like Knoppix to get into your system without grub properly configured.

By the way, you do not have to have a separate /boot partition and it doesn't have to be at the beginning of the disk even if you do have one. I personally always install with just 3 partions: 1 mounted at "/" (around 10 GB), 1 swap partition (500 MB or so) and 1 mounted at "/home" (the rest of the available disk space). Have a separate /home partition allows you to re-install the OS without losing personal data. I haven't found the need to create a separate /boot partition.
 
Old 12-08-2004, 06:06 PM   #3
fester225
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
The boot partition is 50Mb, but curiously doesn't have /boot, or much of anything else, in it. This in itself seems like a problem, but how do I get NetInst to load the kernal in the boot partition?

The next partition is mounted at /home and is 14.4Gb, after that is the swap area.

Menu.lst has:

default 0
timeout 5
color cyan/blue white/blue

title Debian GNU/Linux, kernel 2.4.27-1-386
root (hd0,1)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda2 ro
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot

title Debian GNU/Linux, kernel 2.4.27-1-386 (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda2 ro single
initrd /boot/initrd.img-2.4.27-1-386
savedefault
boot
 
Old 12-10-2004, 04:16 PM   #4
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
Dunno if this is at all related, but I'm just installing Sarge today using netinst D-I RC2 and it had a corrupted grub package. Had to use lilo.
 
  


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
Debian netinst (Sarge) hangs at 92% Scorper Debian 2 02-13-2005 11:58 AM
Sarge netinst hangs Tavy Debian 8 11-08-2004 05:34 PM
sarge netinst reinstall problem yotamk Debian 7 11-03-2004 01:45 PM
Debian Sarge netinst & businesscard, grub, changes drive geometry...Y? Outabux Debian 1 10-20-2004 10:57 PM
CDROM doesn't work after netinst of Sarge 000 Linux - Newbie 13 12-31-2003 02:59 PM

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

All times are GMT -5. The time now is 05:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration