LinuxQuestions.org
Help answer threads with 0 replies.
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 05-20-2003, 08:22 AM   #1
Ander
Member
 
Registered: Apr 2003
Location: Vancouver
Distribution: Debian
Posts: 37

Rep: Reputation: 15
Any way to boot?


Hi guys,

I'll try to explain this without too much humiliation...

I installed Debian on our notebook yesterday, and it went fine.

Today I installed it on the second hard drive in our desktop. I'd read that GRUB was better than LILO, so when the installer asked, "Do you want to install LILO?", I said "no," figuring I'd install GRUB later.

Then, when it asked if I wanted to make a boot floppy, I also said "no," because I'd made one when I installed on the notebook.

Now, I can't boot, of course. The partition's "bootable," but there's no boot loader (right?). The floppy causes a kernel panic, because (as I now know) it's configured for a different system.

I can boot from CD and get to a root shell, but what do I do then? Can I install GRUB (or lacking that, LILO) from there? Or make a boot floppy for the new install? Or must I start all over?

Thanks for your help. (I know we'll all laugh about this someday---that is, I'll laugh too, not just you.)

Cheers, Ander
 
Old 05-20-2003, 08:24 AM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
boot from cdrom to your root shell and do
lilo -b /dev/hda this will install lilo in the mbr
 
Old 05-20-2003, 08:25 AM   #3
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
apt-get install lilo if it's not installed
 
Old 05-20-2003, 09:20 AM   #4
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
You can also install Grub by typing "grub-install /dev/hd?", just make sure grub.conf is configured properly, and that Grub is installed.
 
Old 05-27-2003, 04:52 PM   #5
Ander
Member
 
Registered: Apr 2003
Location: Vancouver
Distribution: Debian
Posts: 37

Original Poster
Rep: Reputation: 15
Okay, I tried it. I got:

knoppix@ttyp0[knoppix]$ sudo lilo -b /dev/hdb
/etc/lilo.conf: Permission denied
knoppix@ttyp0[knoppix]$ sudo lilo -b /dev/hdb
Unrecognized token "! Please edit /etc/lilo.conf before running lilo!" at or above line 20 in file '/etc/lilo.conf'

And if I do manage to install LILO on my Linux h/d's MBR, how do I run LILO without a boot floppy?

Thanks...
 
Old 05-27-2003, 05:12 PM   #6
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
switch to root with su
then do those commands.
You could always install lilo on the primary master, probably hda, and then add all your other OS's.
 
Old 05-27-2003, 06:37 PM   #7
Ander
Member
 
Registered: Apr 2003
Location: Vancouver
Distribution: Debian
Posts: 37

Original Poster
Rep: Reputation: 15
Yes, I opened a session as root and used that command, and that's the message I got.

Well, this isn't working. Guess I'll have to do the reinstall. Thanks anyway.
 
  


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
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 07:25 AM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
Dual boot SUSE/XP But SUSE wont let me boot or see boot menu Hairulfr SUSE / openSUSE 9 08-17-2005 01:57 PM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 08:23 AM
DUAL BOOT - WIN XP cant be seen/boot on boot - pls help Bluiee Linux - Newbie 1 05-25-2004 06:29 AM


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