Kevin Brosius on Mon, 18 Dec 2000 10:08:46 -0500


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

Re: [PLUG] lilo question


Jeff Abrahamson wrote:
> 
> On Sun, Dec 17, 2000 at 07:00:47PM -0500, basic wrote:
> > On Sun, Dec 17, 2000 at 12:39:34PM -0500, Jeff Abrahamson wrote:
> > > 1. Whatever else is going on, lilo just doesn't seem to want to let me
> > > boot from my hard drive. This has been the case since I installed my
> > > latest copy of linux (RH 6.2). I used to be able to boot off of my
> > > hard drive in days past (but then it was /dev/sda).
> > >
> > > I've attached a copy of lilo.conf. But, basically, you should know
> > > that I've got two hard drives, /dev/sda and /dev/hda. I want to boot
> > > off of /dev/hda5. I use the much smaller scsi drive for swap and some
> > > extra storage. It's historical.
> > >
> > dear Jeff:
> >    you must specify a hard disk partition
> 
> So I change the first line to read
> 
>    boot = /dev/hda1
> 
> or
> 
>   boot = /dev/hda5
> 
> and then run /sbin/lilo (no args).
> 
> Neither of these has any discernable effect: I'm still told no
> available partitions for botting on HDD. No sign of lilo.
> 
> My choice of boot values above is based on the following:
> 
> $ 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
> 
> #
> 
> > > boot = /dev/hda
> > > timeout = 50
> > > linear
> > > prompt
> > >   default = linux
> > >   vga = normal
> > >   read-only
> > > map=/boot/map
> > > install=/boot/boot.b
> > > image = /boot/vmlinuz-2.2.14-5.0smp
> > >   label = linux
> > >   initrd = /boot/initrd-2.2.14-5.0smp.img
> > >   root = /dev/hda5
> > > image = /boot/vmlinuz-2.2.14-5.0
> > >   label = linux-up
> > >   initrd = /boot/initrd-2.2.14-5.0.img
> > >   root = /dev/hda5
> 
> --
>  Jeff
> 
>  Jeff Abrahamson  <http://www.purple.com/jeff/>
> 


How about a cat /etc/mtab and cat /etc/fstab?

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.

-- 
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