|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
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/>
LILO version 21, Copyright 1992-1998 Werner Almesberger
Caching device /dev/hda (0x0300)
Caching device /dev/hda1 (0x0301)
Caching device /dev/hda2 (0x0302)
Caching device /dev/hda3 (0x0303)
Caching device /dev/hda4 (0x0304)
Caching device /dev/hda5 (0x0305)
Caching device /dev/hda6 (0x0306)
Caching device /dev/hda7 (0x0307)
Caching device /dev/hda8 (0x0308)
Caching device /dev/hdb (0x0340)
Caching device /dev/hdb1 (0x0341)
Caching device /dev/hdb2 (0x0342)
Caching device /dev/hdb3 (0x0343)
Caching device /dev/hdb4 (0x0344)
Caching device /dev/hdb5 (0x0345)
Caching device /dev/hdb6 (0x0346)
Caching device /dev/hdb7 (0x0347)
Caching device /dev/hdb8 (0x0348)
Caching device /dev/sda (0x0800)
Caching device /dev/sda1 (0x0801)
Caching device /dev/sda2 (0x0802)
Caching device /dev/sda3 (0x0803)
Caching device /dev/sda4 (0x0804)
Caching device /dev/sda5 (0x0805)
Caching device /dev/sda6 (0x0806)
Caching device /dev/sda7 (0x0807)
Caching device /dev/sda8 (0x0808)
Caching device /dev/sdb (0x0810)
Caching device /dev/sdb1 (0x0811)
Caching device /dev/sdb2 (0x0812)
Caching device /dev/sdb3 (0x0813)
Caching device /dev/sdb4 (0x0814)
Caching device /dev/sdb5 (0x0815)
Caching device /dev/sdb6 (0x0816)
Caching device /dev/sdb7 (0x0817)
Caching device /dev/sdb8 (0x0818)
Caching device /dev/loop0 (0x0700)
Caching device /dev/loop1 (0x0701)
Caching device /dev/loop2 (0x0702)
Caching device /dev/loop3 (0x0703)
Caching device /dev/loop4 (0x0704)
Caching device /dev/loop5 (0x0705)
Caching device /dev/loop6 (0x0706)
Caching device /dev/loop7 (0x0707)
Reading boot sector from /dev/hda5
Merging with /boot/boot.b
Device 0x0301: BIOS drive 0x80, 255 heads, 4982 cylinders,
63 sectors. Partition offset: 63 sectors.
Secondary loader: 8 sectors.
Device 0x0301: BIOS drive 0x80, 255 heads, 4982 cylinders,
63 sectors. Partition offset: 63 sectors.
Boot image: /boot/vmlinuz-2.2.14-5.0smp
Device 0x0301: BIOS drive 0x80, 255 heads, 4982 cylinders,
63 sectors. Partition offset: 63 sectors.
Setup length is 7 sectors.
Mapped 1266 sectors.
Mapping RAM disk /boot/initrd-2.2.14-5.0smp.img
Device 0x0301: BIOS drive 0x80, 255 heads, 4982 cylinders,
63 sectors. Partition offset: 63 sectors.
RAM disk: 849 sectors.
Added linux *
<dev=0xc0,hd=0,cyl=57,sct=138>
"ro root=305"
Boot image: /boot/vmlinuz-2.2.14-5.0
Device 0x0301: BIOS drive 0x80, 255 heads, 4982 cylinders,
63 sectors. Partition offset: 63 sectors.
Setup length is 7 sectors.
Mapped 1218 sectors.
Mapping RAM disk /boot/initrd-2.2.14-5.0.img
Device 0x0301: BIOS drive 0x80, 255 heads, 4982 cylinders,
63 sectors. Partition offset: 63 sectors.
RAM disk: 848 sectors.
Added linux-up
<dev=0xc0,hd=0,cyl=57,sct=164>
"ro root=305"
/boot/boot.0305 exists - no backup copy made.
Map file size: 27136 bytes.
Writing boot sector.
|
|