LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2004, 10:39 AM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
LILO problems - please help me!


Hey,

Please help me! I'm installing gentoo on a laptop and I'm having real problems. Everything has gone well until the LILO setup.

When I formatted the hard drive to make it ready for the install (it was previously a windows install and partitioned with partition magic) the partition table looked like:

Device Boot Start End Blocks Id System
/dev/ide/host0/bus1/target0/lun0/part1 * 1 5 40131 83 Linux
/dev/ide/host0/bus1/target0/lun0/part2 6 42 297202+ 82 Linux swap
/dev/ide/host0/bus1/target0/lun0/part3 43 1502 11727450 83 Linux
/dev/ide/host0/bus1/target0/lun0/part4 1503 2432 7470225 7 HPFS/NTFS

Now, I'm setting up lilo. First I tried my lilo.conf like this:

boot=/dev/ide/host0/bus1/target0/lun0/part1
prompt
timeout=50
default=gentoo
vga=788

image=/boot/kernel-2.6.4
label=gentoo
read-only
root=/dev/ide/host0/bus1/target0/lun0/part3
append="hdc=ide-scsi"

And got the error: Fatal: raid_setup: stat("/dev/ide/host0/bus1/target0/lun0/part1")

Then I tried:

boot=/dev/hda
prompt
timeout=50
default=gentoo
vga=788

image=/boot/kernel-2.6.4
label=gentoo
read-only
root=/dev/hda3
append="hdc=ide-scsi"

And got the error: Fatal: open /dev/hda: Read-only file system

If I do fdisk:
"
livecd linux # fdisk -l
livecd linux #
"
it tells me that I don't have anything!! This isn't too surprising I guess, considering that the installation is not yet finished.


What can I do to sort this out? I need to find out what hard drive the installation is on. I have never installed on a lappy before. I just assumed that the hard drive would be /dev/hda, but it seems not to be.

Please help, this is really frustrating!!

thanks
Hamish
 
Old 04-09-2004, 10:51 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
I'm guessing the cd is hda ( the read-only), and the hd is hdc (the bus1 instead of bus0)... you can try 'boot=/dev/hdc'.
 
Old 04-09-2004, 10:57 AM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
hey.

yeah, I have just done that! Now the only errors I get are:

livecd linux # lilo
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/ide/host0/bus1/target0/lun0/disc' -> '/dev/hdc'
The kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted
as a kernel command-line boot parameter; hence, the '/dev' directory
structure does not reflect DEVFS_FS device names.
Added gentoo *

Is this a major problem?

Hamish
 
Old 04-09-2004, 02:52 PM   #4
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Fixed!

The problem was that, while I had changed the root= to /dev/hdc3, I had left append="hdc=scsi-ide". This meant that linux thought that my HD was scsi emulation.

This was fixed by correcting it to append="hda=ide-sci"

Hamish
 
  


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
Lilo problems and sound server problems duhasst0 Slackware 12 08-02-2004 02:14 AM
lilo problems in 9.1 osc Slackware 2 02-19-2004 08:57 AM
lilo problems! Kjetil4455 Slackware 15 08-04-2003 09:18 AM
Lilo Problems eForce Linux - Newbie 0 11-16-2002 04:32 PM
lilo problems..... vcheah Linux - Software 3 12-05-2001 11:25 AM

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

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