LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-11-2006, 01:36 PM   #1
sharapchi
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: slackware
Posts: 119

Rep: Reputation: 15
lilo


Hi,

I have a problem with lilo. I have bought a new harddisk a few days before.
I installed things about linux to new harddisk. And i wanted to use older with linux. I installed windows to old hdd and partitioned with ntfs fully. Also i did it to new hdd with linux. I plugged newer as /dev/sda (by the way hdds are sata) and older as /dev/sdb. I configured lilo. I can start linux but i cannot start windows from lilo.
I tried grub, also i cannot do again with this.

here my lilo.conf

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
#compact        # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773

# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = linuks
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sdb1
  label = vindovs
#  map-drive = 0x80
#   to = 0x81
#  map-drive = 0x81
#   to = 0x80
  table = /dev/sdb
# Windows bootable partition config ends

Last edited by sharapchi; 01-11-2006 at 01:37 PM.
 
Old 01-11-2006, 01:55 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I believe your primary partition table is on /dev/sda, is it not?
Even though your Windows OS is on /dev/sdb1, I think you should be
using "table = /dev/sda" in the Windows bootable partition config.

I have a system back home with Windows on an IDE drive, and Slack
on a SATA drive; with LiLO in the MBR. This is that system's LiLO:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="apm=power-off"
boot = /dev/hda
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda2
  label = Slackware-2.6.7
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
  label = Windoze
  table = /dev/hda
# Windows bootable partition config ends
If this makes sense to you, try changing the table.

And don't forget to run "lilo" after changing /etc/lilo.conf
 
Old 01-12-2006, 03:47 AM   #3
yoron
Member
 
Registered: Nov 2005
Posts: 120

Rep: Reputation: 15
i agree, point lilo to your MBR
And put XP as sda, windows kind of like that
 
Old 01-12-2006, 08:13 AM   #4
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Try uncommenting the line:

table = /dev/sdb

it helped for me. Just that I don't understand why ....
 
Old 01-12-2006, 03:18 PM   #5
sharapchi
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: slackware
Posts: 119

Original Poster
Rep: Reputation: 15
yes you are right windows like being first every time but is it really first for us? is it the best?

Uncommeting "table = /dev/sdb" does not work for me.

By the way. I dont do about lilo. It does not work. I tried grub. Also with expert choice i cannot install windows. But when i choose simple, it make every partition bootable and make choices for every partition. Then i edited /boot/grub/menu.lst file. I uncommented other choices.

But grub is so complex to use. If is there anyone feels itself expert it can use grub, grub is not for me. If anyone knows how i can fix it, please give me some ideas.

Do i have to install lilo to mbr of /dev/sdb, too?

Last edited by sharapchi; 01-12-2006 at 03:46 PM.
 
Old 01-12-2006, 07:48 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
---------
other = /dev/sdb1
label = vindovs
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sdb
--------------

did you try uncommenting the " map - to " options ?
and no, don't install lilo to the mbr of dribe b

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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM
Problem with Lilo not updating (yes I ran lilo after changing the conf) webguy Linux - General 2 06-24-2001 07:12 PM

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

All times are GMT -5. The time now is 04:01 PM.

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