LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 09-03-2003, 12:41 PM   #1
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Re: Linux Newbie here. LILO Probs!!!


Hey All.

I just installed Slackware 9.0 on my machine, and I think I have made a big mistake. I installed LILO to the MBR, and when I boot my machine, it goes into LILO, and the only option I have for booting is Linux! If someone can help it would be very much appreciated, because I had some very important stuff on my Windows 2000 drive. I know the data is still there, but I just do not know how to access it. I would really like a response as to how to get LILO to recognize that I also have Windows 2000 running. Windows 2000 is running on a *seperate* hard drive than my Slackware installation. Thanks, any response will be helpful!!

spineshank
 
Old 09-03-2003, 12:56 PM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Open /etc/lilo.conf with an editor, and add a stanza at the end like so:

other=/dev/hda1
label=Win2k
table=/dev/hda

Then run lilo to apply the changes.
This asumes that win2k is on the first partiton of the first harddrive.

Last edited by aaa; 09-03-2003 at 12:57 PM.
 
Old 09-03-2003, 01:48 PM   #3
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
re: didn't work :(

The edit didnt work. Here is what /etc/lilo.conf for my machine looks like, if it could help you any:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb3
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# 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
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb3
label = Linux
read-only
other=/dev/hda1
label=Win2k
table=/dev/hda
# Linux bootable partition config ends
 
Old 09-03-2003, 02:04 PM   #4
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
re: new info

bash-2.05b# /sbin/lilo
Warning: LBA32 addressing assumed
Added Linux *
Fatal: First sector of /dev/hda1 doesn't have a valid boot signature


there you go. hope that helps!
 
Old 09-03-2003, 02:17 PM   #5
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Which hard disk is win2k on?
 
Old 09-03-2003, 02:26 PM   #6
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Could you also perhaps give us the contents of your /etc/fstab file?



-zsejk
 
Old 09-03-2003, 04:43 PM   #7
asheron
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Hi i hope this helps,

try to run "liloconfig"

here it goes.

1.Begin - start liloconfig with new header
2.Linux - addlinux partion
3.Dos - add a Dos partion
4.install - install the new setting

hope this works
 
Old 09-03-2003, 07:44 PM   #8
spineshank
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
reset-restart

Thanks everyone for the help. Unfortunately something got so screwed up the hda1 scrambled itself. Oh well, i didnt have anything important on there anyway...and I was running this thing as a learning experience.

I will do a clean install of windows 2k pro, and start from scratch. Thanks again to all!!
 
Old 09-03-2003, 08:05 PM   #9
leonardotiago
Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
hey man,

do this commands:

fdisk /dev/hda

then click on "p" to print the partitions

so one of them calls ntfs or win95

so you partition is some /dev/hdax, where x is the number of partition.

to exit the fdisk click on "q" to quit


then go to lilo.conf
and add this lines:

other=/dev/hdax
label=Win2k
table=/dev/hda

then run /sbin/lilo

so... reboot and see if appears win2k
and boot...

i thinkin'
im helpin'

 
Old 09-04-2003, 09:48 PM   #10
swamp
LQ Newbie
 
Registered: Sep 2003
Posts: 9

Rep: Reputation: 0
Have you made use of the liloconfig utility? Just enter "liloconfig"
at a shell prompt, and then carefully learn to use this handy little tool. One of the options is to create a boot option to a DOS (Win) partition.
 
Old 09-05-2003, 07:22 AM   #11
leonardotiago
Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
slackware 9 dont have the liloconfig tool

so....
 
Old 09-05-2003, 08:00 AM   #12
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Quote:
Originally posted by leonardotiago
slackware 9 dont have the liloconfig tool

so....
Yes it does. I just typed it, and it started.



-zsejk
 
Old 09-05-2003, 09:09 AM   #13
leonardotiago
Newbie
 
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
oh im confused,
yes it does,

excuse-me
i was think in another tool
 
Old 09-05-2003, 09:13 AM   #14
zsejk
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 345
Blog Entries: 5

Rep: Reputation: 30
Hehehe.... 'sok.



-zsejk
 
  


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 bootloader probs whitelinux Linux - Software 2 08-15-2005 06:01 PM
LILO Probs caminator Linux - Newbie 6 11-18-2003 12:41 PM
A Complete newbie to linux and having probs installing modem driver :'( XDR Linux - Hardware 2 09-25-2003 04:22 PM
LILO Installation Probs skubik Linux - Software 2 05-03-2003 01:58 PM
lilo problem from a newbie linux fan javiersf Linux - General 30 01-15-2003 08:38 PM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration