Kevin Brosius on Mon, 18 Dec 2000 14:28:49 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] lilo question


Jeff Abrahamson wrote:
> 
> On Mon, Dec 18, 2000 at 10:00:52AM -0500, Kevin Brosius wrote:
> > > $ df -k
> > > Filesystem           1k-blocks      Used Available Use% Mounted on
> > > /dev/hda5             39294220   8679716  28618432  23% /
> > > /dev/hda1                23302      7070     15029  32% /boot
> > > /dev/sda1              2885780    857684   1881508  31% /home2
> > > $
> > >
> > > Note, also, that
> > >
> > > # /sbin/fdisk /dev/sda
> > >
> > > Command (m for help): p
> > >
> > > Disk /dev/sda: 255 heads, 63 sectors, 522 cylinders
> > > Units = cylinders of 16065 * 512 bytes
> > >
> > >    Device Boot    Start       End    Blocks   Id  System
> > > /dev/sda1             1       365   2931831   83  Linux
> > > /dev/sda2           366       522   1261102+   5  Extended
> > > /dev/sda5           366       522   1261071   82  Linux swap
> > >
> > > Command (m for help): q
> > >
> > > # /sbin/fdisk /dev/hda
> > >
> > > Command (m for help): p
> > >
> > > Disk /dev/hda: 255 heads, 63 sectors, 4982 cylinders
> > > Units = cylinders of 16065 * 512 bytes
> > >
> > >    Device Boot    Start       End    Blocks   Id  System
> > > /dev/hda1   *         1         3     24066   83  Linux
> > > /dev/hda2             4      4982  39993817+   5  Extended
> > > /dev/hda5             4      4973  39921493+  83  Linux
> > > /dev/hda6          4974      4982     72261   82  Linux swap
> > >
> > > Command (m for help): q
> > >
> > > #
> >
> > How about a cat /etc/mtab and cat /etc/fstab?
> 
> $ cat /etc/fstab
> /dev/hda5               /                       ext2    defaults        1 1
> /dev/hda1               /boot                   ext2    defaults        1 2
> /dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
> /dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
> none                    /proc                   proc    defaults        0 0
> none                    /dev/pts                devpts  gid=5,mode=620  0 0
> /dev/hda6               swap                    swap    defaults        0 0
> /dev/sda1               /home2                  ext2    defaults        1 3
> /dev/sda5               swap                    swap    defaults        0 0
> $ cat /etc/mtab
> /dev/hda5 / ext2 rw 0 0
> none /proc proc rw 0 0
> /dev/hda1 /boot ext2 rw 0 0
> none /dev/pts devpts rw,gid=5,mode=620 0 0
> /dev/sda1 /home2 ext2 rw 0 0
> $
> 
> > What is your boot disk at the time you are running lilo?  And doesn't
> > lilo give any messages when you run it?  It should give at least a
> > success or failure indication.
> 
> I boot off of /dev/hda5, according to my floppy boot disk. Anyway,
> /boot is /dev/hda1 and /etc is on /, which is /dev/hda5.
> 
> Yes, /sbin/lilo says
> 
> Added linux *
> Added linux-up
> 
> The triple verbose output I'll attach (lilo.out).
> 
> --
>  Jeff
> 
>  Jeff Abrahamson  <http://www.purple.com/jeff/>
> 

I think Serguei found it...  You're output also tells me that lilo is
writing a boot record somewhere... Whatever device 0xc0 is.  The easiest
way to tell where is to look at the disk activity lights when you run
lilo.  Either the SCSI, IDE, or floppy should go briefly active when you
run lilo, that will tell you where the boot sector is being written.  It
might also explain why your rescue disk stopped working...

I'll have to look at my lilo.conf when I get home.  I see some things
that look different, but I'm not sure if they matter or not.

-- 
Kevin Brosius


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug