LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2004, 10:54 PM   #1
jakejzg
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
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)

Last edited by jakejzg; 12-17-2004 at 10:56 PM.
 
Old 12-19-2004, 02:13 PM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LILO part_nowrite help kraydl Slackware 3 11-10-2005 08:16 PM
php read directory? wh33t Programming 1 07-05-2005 12:44 AM
Kernel Panic: It won't mount the root filesystem (2.6.8 and 2.6.9) and LILO hates me edman007 Linux - General 4 11-13-2004 05:41 PM
x86 Solaris 9 hates LILO finegan Solaris / OpenSolaris 21 08-18-2004 01:14 AM
read filename from directory newbielinux Linux - Newbie 2 03-02-2004 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration