LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2004, 06:54 PM   #31
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53

i don't understand why it gives an error " sda " ?

reading " man lilo ", maybe this works: " #lilo -M /dev/hda mbr "

egag
 
Old 12-21-2004, 06:56 PM   #32
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
ok here's what came up when i did that command

root@hideyoshi:/# lilo -M /dev/hda mbr
Backup copy of /dev/hda in /boot/boot.0300
The Master Boot Record of /dev/hda has been updated.
 
Old 12-21-2004, 07:07 PM   #33
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
well i rebooted after that command, but nothing.......i tried hda3 instead, but then i get another message

root@hideyoshi:/home/samurai# lilo -M /dev/hda3 mbr
Fatal: /dev/hda3 is not a master device with a primary parition table

ok, so that didn't work either........what now? :P
 
Old 12-21-2004, 07:12 PM   #34
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
/dev/hda3 is a partition on /dev/hda. After you rebuilt the mbr (the lilo -M /dev/hda mbr), did you run lilo again with no switches?
 
Old 12-21-2004, 07:16 PM   #35
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
yea, here's what i did

root@hideyoshi:/home/samurai# lilo -M /dev/hda mbr
/boot/boot.0300 exists - no /dev/hda backup copy made.
The Master Boot Record of /dev/hda has been updated.
root@hideyoshi:/home/samurai# lilo
Fatal: open /dev/sda: Read-only file system
root@hideyoshi:/home/samurai#

and its still not working
 
Old 12-21-2004, 07:24 PM   #36
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
are you sure you saved the config-file to " /etc/lilo.conf " ?
( really don't understand the "sda" )

egag
 
Old 12-21-2004, 07:28 PM   #37
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
ok, here is what lilo.conf looks like

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 800x600x64k
vga = 788
# 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/hda3
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz.old
root = /dev/hda3
label = slack.old
read-only
# Linux bootable partition config ends
 
Old 12-21-2004, 07:37 PM   #38
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
maybe the first boot-device setting in your bios is not set to hda.
that can cause this also.....

egag
 
Old 12-21-2004, 07:41 PM   #39
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
yea ok, i will go in the bio and change the boot device to c: only, right now I have it set to cdrom, because i tend to boot off cds a lot, but i will change it, and then try those commands again, to see if it works, and go from there if it still doesn't
 
Old 12-21-2004, 07:48 PM   #40
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
uh....is that a cd r/w drive ?

egag
 
Old 12-21-2004, 07:50 PM   #41
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Well i chnaged the default boot device to the hard drive rather than my cdrom, and tried again, and still nothing

root@hideyoshi:/home/samurai# lilo -M /dev/hda mbr
/boot/boot.0300 exists - no /dev/hda backup copy made.
The Master Boot Record of /dev/hda has been updated.
root@hideyoshi:/home/samurai# lilo
Fatal: open /dev/sda: Read-only file system
root@hideyoshi:/home/samurai#
 
Old 12-21-2004, 07:52 PM   #42
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
can you umount the cd, and try " lilo " again.

egag
 
Old 12-21-2004, 07:55 PM   #43
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
...and do you boot your sys from cd when running "lilo". ?

egag
 
Old 12-21-2004, 07:57 PM   #44
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,187

Original Poster
Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
most of the time i don't boot from the cd, if i don't have a cd, it will just automatically boot the hd, which is how i alwasy boot.. and this is what i have mounted when the system has started up.

root@hideyoshi:/home/samurai# mount
/dev/hda3 on / type ext3 (rw)
proc on /proc type proc (rw)
/dev/hda1 on /NTFS-C type ntfs (ro,noexec,nosuid,nodev,umask=0000)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
root@hideyoshi:/home/samurai#
 
Old 12-21-2004, 08:18 PM   #45
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
well...i'm running out of options here....

maybe you've gotto mark one partition as active ( hda3 )

#lilo -A /dev/hda3

then ( again )

#lilo

egag
 
  


Reply



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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:03 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