LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-10-2003, 01:04 AM   #1
chanws0
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Rep: Reputation: 0
Question How to start linux without boot disk


Hi,

I have just installed RH linux 8.0 on a PC originally installed with R H linux 7.0.
After the installation, it can only reboot / start up with a boot disk. I have tried to change the file in /etc/lilo.conf

but I think I do not get the /boot set correctly
How to find the first hard disk ? Or how to tackle this problem if I want it start linux automatically once I reboot?

Thanks~

Regards,
chanws0
 
Old 12-10-2003, 01:12 AM   #2
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
After making the changes to your /etc/lilo.conf are you doing a /sbin/lilo to write the changes to the MBR??
 
Old 12-10-2003, 01:17 AM   #3
chanws0
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Yes.
but it prompt me the following

Warning: /dev/sdb2 is not on the first disk
Added linux *
Added linux-up


I don't know how to check the first disk

Thanks alot

Rgds,
chanws0
 
Old 12-10-2003, 02:45 AM   #4
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
Why don't you go ahead and post the contents of your lilo.conf and tells us what devices you have and what is master/slave.
 
Old 12-10-2003, 08:12 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if its scsi for the first disk then sda would work

/sbin/lilo -b /dev/sda


this should be in the lilo.conf file as

boot=/dev/sda
 
Old 12-11-2003, 12:43 AM   #6
chanws0
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Here is my lilo.conf


prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-14smp
label=linux
initrd=/boot/initrd-2.4.18-14smp.img
read-only
append="root=LABEL=/"

image=/boot/vmlinuz-2.4.18-14
label=linux-up
initrd=/boot/initrd-2.4.18-14.img
read-only
append="root=LABEL=/"


and my filesystem is
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb6 507732 216134 265385 45% /
/dev/sdb1 99134 23091 70924 25% /boot
/dev/sdb5 4377384 34332 4120692 1% /home
none 515500 0 515500 0% /dev/shm
/dev/sdb2 9461256 3898984 5081660 44% /usr
/dev/sdb7 1032072 142668 836976 15% /var
/dev/fd0 1430 1349 81 95% /mnt/floppy
 
Old 12-11-2003, 12:51 AM   #7
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
I think all you need to do is change your boot=/dev/sda to boot=/dev/sdb
 
Old 12-11-2003, 05:16 AM   #8
chanws0
LQ Newbie
 
Registered: Dec 2003
Posts: 4

Original Poster
Rep: Reputation: 0
But it still prompts me the following:

Warning: /dev/sdb is not on the first disk
Added linux *
Added linux-up


My Question is how to find the first disk

Many Thanks.

Regards,
chanws0
 
Old 12-11-2003, 10:31 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
According to your posts it was complaining about /dev/sdb2 not being on the first drive.

/dev/sdb2 is your /usr partition, which should not be an issue.

was it boot=/dev/sdb2 before?

try replacing "root=LABEL=/" with "root=/dev/sdb6"

then run this

/sbin/lilo -C /etc/lilo.conf -b /dev/sba
 
  


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
Dual Boot without Linux Boot Disk goldengoddess? Linux - Newbie 4 05-28-2005 08:34 AM
linux won't boot whitout boot disk grizz Linux - Newbie 2 08-12-2003 03:21 PM
Linux boot disk celtic32 Linux - General 2 09-18-2002 10:26 AM
Linux Boot Disk chilljw1 Linux - Newbie 1 03-23-2001 07:45 AM
Error after boot with REDHAT LINUX boot disk...HELP PLEASE! Creightin Linux - General 0 03-12-2001 08:38 PM

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

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