lilo fstab

2001-06-02 Thread burningclown

All,

I'm still trying to find my way through my boot / lilo / lilo vs. grub
problems. Have put grub on the backburner for a moment in favor of a step
by step effort to understand what's going on.

When I attempt to install lilo on my system now, I get the following
error:

LILO, the LInux LOader, sets up your system to boot Linux directly
from your hard disk, without the need for a boot floppy.

WARNING!
Your /etc/fstab configuration file gives device /dev/hda3 as the root
filesystem device. This doesn't look to me like an ordinary block
device. Either your fstab is broken and you should fix it, or you are
using hardware (such as a RAID array) which this simple configuration
program does not handle.

You should either repair the situation or hand-roll your own
/etc/lilo.conf configuration file; you can then run /usr/sbin/liloconfig
again to retry the configuration process.
Documentation for LILO can be found in /usr/share/doc/lilo/.



My question is, what is wrong with the following /etc/fstab file? I
==haven't touched it==, ever. Why is lilo suddenly complaining, and what
in the following setup implies that /dev/hda3 is -not- a valid block
device? Or is that determination coming from elsewhere?


# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  
pass
/dev/hda3   /   ext2defaults,errors=remount-ro  0   
1
/dev/hda2   noneswapsw  0   0
proc/proc   procdefaults0   0
/dev/fd0/floppy autodefaults,user,noauto0   0
/dev/cdrom  /cdrom  iso9660 defaults,ro,user,noauto 0   0
/dev/cdrom2 /cdrom2 iso9660 defaults,rw,user,noauto 0   0


Thanks,

Glenn Becker

++
http://www.burningclown.com
Everyone's Portal to Nothing At All
++



Re: lilo fstab

2001-06-02 Thread Eric G. Miller
On Fri, Jun 01, 2001 at 11:16:10PM -0500, [EMAIL PROTECTED] wrote:
 All,

[snip]

 When I attempt to install lilo on my system now, I get the following
 error:

[snip]

 WARNING!
 Your /etc/fstab configuration file gives device /dev/hda3 as the root
 filesystem device. This doesn't look to me like an ordinary block
 device. Either your fstab is broken and you should fix it, or you are
 using hardware (such as a RAID array) which this simple configuration
 program does not handle.

[snip]

 My question is, what is wrong with the following /etc/fstab file? I
 ==haven't touched it==, ever. Why is lilo suddenly complaining, and what
 in the following setup implies that /dev/hda3 is -not- a valid block
 device? Or is that determination coming from elsewhere?
 
 
 # /etc/fstab: static file system information.
 #
 # file system   mount point   type  options   
 dump  pass
 /dev/hda3 /   ext2defaults,errors=remount-ro  0   
 1
 /dev/hda2 noneswapsw  0   0
 proc  /proc   procdefaults00
 /dev/fd0  /floppy autodefaults,user,noauto00
 /dev/cdrom/cdrom  iso9660 defaults,ro,user,noauto 00
 /dev/cdrom2   /cdrom2 iso9660 defaults,rw,user,noauto 00

What does fdisk -l /dev/hda3 say?  I'm assuming you've been booting
off this already, so that simple lilo configuration program must be
sucking.  Just handroll your own lilo.conf and run /sbin/lilo.
Something like:

boot=/dev/hda
root=/dev/hda3
install=/boot/boot.b
map=/boot/map
compact
vga=normal
delay=20
image=/vmlinuz
label=linux-X.X.X.

Admittedly, been using GRUB for a while now, so I'm rusty on lilo.conf.
You might need some LBA mode or some such as well...

-- 
Eric G. Miller egm2@jps.net



Re: lilo fstab

2001-06-02 Thread burningclown

In re: my continued lilo problems ...

 What does fdisk -l /dev/hda3 say?

This:


Disk /dev/hda3: 255 heads, 63 sectors, 3527 cylinders
Units = cylinders of 16065 * 512 bytes

 Device BootStart   EndBlocks   Id  System


And when I run fdisk on /dev/hda, I get the following:

Command (m for help): Command (m for help):
Disk /dev/hda: 255 heads, 63 sectors, 3649 cylinders
Units = cylinders of 16065 * 512 bytes

   Device BootStart   EndBlocks   Id  System
/dev/hda1   * 161489951   83  Linux
/dev/hda262   122489982+  82  Linux swap
/dev/hda3   123  3649  28330627+  83  Linux

Command (m for help):


Anyone see problems with this? I'm wondering why fdisk -l /dev/hda3
doesn't really ... give any info, to speak of.

I will try the suggested lilo.conf.

Glenn

++
http://www.burningclown.com
Everyone's Portal to Nothing At All
++



Re: lilo fstab: SOLVED

2001-06-02 Thread burningclown

Hola,

I ran the suggested /etc/lilo.conf file, ran /sbin/lilo and now all is
well. Moving on. Thanks!!

Am just not gonna worry about what I must've been doing wrong. :S

Glenn

++
http://www.burningclown.com
Everyone's Portal to Nothing At All
++



Re: lilo fstab

2001-06-02 Thread Brian Nelson
On Sat, Jun 02, 2001 at 02:34:09PM -0500, [EMAIL PROTECTED] wrote:
 
 In re: my continued lilo problems ...
 
  What does fdisk -l /dev/hda3 say?
 
 This:
 
 
 Disk /dev/hda3: 255 heads, 63 sectors, 3527 cylinders
 Units = cylinders of 16065 * 512 bytes
 
  Device BootStart   EndBlocks   Id  System

The command should have been fdisk -l /dev/hda.  The output should
be the same as the p command within fdisk, ie.:

Device BootStart   EndBlocks   Id  System
 /dev/hda1   * 161489951   83  Linux
 /dev/hda262   122489982+  82  Linux swap
 /dev/hda3   123  3649  28330627+  83  Linux

Do you mean for /dev/hda1 to be the /boot partition?  Could there be 
a 1024 cylinder problem with booting from /dev/hda3?

-- 
Brian Nelson [EMAIL PROTECTED]