LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lilo hates me... part_nowrite: read: Is a directory (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-hates-me-part_nowrite-read-is-a-directory-267595/)

jakejzg 12-17-2004 10:54 PM

Lilo hates me... part_nowrite: read: Is a directory
 
bash-2.05b# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 41G 2.8G 37G 8% /
/dev/hda1 190M 3.1M 178M 2% /boot
bash-2.05b# /sbin/fdisk -l

Disk /dev/hda: 46.1 GB, 46103371776 bytes
255 heads, 63 sectors/track, 5605 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 25 200781 83 Linux
/dev/hda2 26 88 506047+ 82 Linux swap
/dev/hda3 89 5605 44315302+ 83 Linux

Disk /dev/hdb: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 2491 20008926 83 Linux
bash-2.05b# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = SLack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
bash-2.05b# cat /etc/fstab
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda2 swap swap defaults 0 0
/dev/hda3 / ext3 defaults 1 1
/dev/hdb1 /dev/hdb1 ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
bash-2.05b# mount
/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
/dev/hda1 on /boot type ext2 (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)






Help. Please.

1. Failed Grub install will not get off MBR
2. When i type 'lilo' it outputs that which is in the title.

:(

(Running Slack 10)

pablob 12-19-2004 02:13 PM

Maybe your root entry under lilo.conf should point to your root partition (/dev/hda1)

Try
root = /dev/hda1

instead of
root = /dev/hda3

And run lilo again.

Beware you can boot into the system with a floppy, before.


All times are GMT -5. The time now is 07:27 AM.