LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-09-2005, 01:56 PM   #16
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16

Hi, I'm having a weird problem. I did the same thing as bhodi did, but when I select to boot linux I get "L" instead of it booting. It just shows L. I can't install Lilo to MBR because then it'll give me L too so then I have to do FDISK /MBR. Same thing with Grub and other Linux distributions. This is weird since it worked before fine. Nothing was added to the computer. Anybody know a fix to that?


PS: Windows XP Pro boots fine.
 
Old 04-09-2005, 06:38 PM   #17
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally posted by rob0t
I did the same thing as bhodi did, but when I select to boot linux I get "L" instead of it booting. It just shows L.
I believe this indicates that the stage1 (the boot sector you copied) has been executed but can't find stage2. Strictly speaking it has booted, but we can leave semantics to another time.
Quote:
I can't install Lilo to MBR because then it'll give me L too so then I have to do FDISK /MBR. Same thing with Grub and other Linux distributions.
You can't know that unless you've done it. I'd be surprised if lilo didn't work from the MBR. How you can make comments about other loaders/distros is bit unbelievable.
You're just going to have to try and find out - in need, you can fix the MBR to get XP back.
 
Old 04-09-2005, 07:05 PM   #18
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
I have tried 2 versions of slackware, 2 versions of mandrake. Both leave L when booting. I tried FC2 with Grub, it didn't work out either. I have to use XP cd to get the original MBR so I can boot Windows. Also Mandrake's rescue CD offers the "install Windows bootloader" option which restores it too. Any way on getting both linux and windows dual boot?

Any Help appreciated, since this problem's driving me nuts.
 
Old 04-09-2005, 07:19 PM   #19
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
can you post your lilo.conf file ?

egag
 
Old 04-09-2005, 07:21 PM   #20
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
yes, here it is:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
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
# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda5
label = Linux
read-only
# Linux bootable partition config ends
 
Old 04-09-2005, 07:35 PM   #21
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
this will install lilo in the mbr.
i thought you didn't want that ?

egag
 
Old 04-09-2005, 07:47 PM   #22
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
That's after I tried to install it on MBR...My main goal was to get Linux to boot somehow, so I've tried many approaches..Only way to get it to boot is through floppy but that just takes way too long.
 
Old 04-09-2005, 07:57 PM   #23
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
Hey guys,
I still have a similar problem as bhodi and started a new thread- http://www.linuxquestions.org/questi...hreadid=310111 , before stumbling onto this current one.

I have two hdd's as stated and I tried the method of:
http://www.highlandsun.com/hyc/linuxboot.html

Yet it gives me the error of a Windows hardware configuration error.
Can anyone give a suggestion on how to get windows to show the two options to boot?

And as rob0t's last post, I am doing the exact same thing currently, using a floppy bare.i image to boot into linux everytime.

UPDATE: Sorry I put the wrong address for the highlandsun website. Correct one is on.
Thanks,
Abid Kazmi

Last edited by securehack; 04-09-2005 at 08:04 PM.
 
Old 04-09-2005, 07:57 PM   #24
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
take a look at : file:/usr/doc/lilo-22.5.9/README

lines 2782 etc.
and maybe lines 1823 etc.

egag
 
Old 04-09-2005, 08:19 PM   #25
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
Nothing helped, it talked about disk geomtries, etc. No solutions.
 
Old 04-09-2005, 08:29 PM   #26
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
I just checked it out, those lines neccessarily aren't all useful information. Scan through the file there is a lot of information on dual booting. I have to go do the laundry. I will post information after I get back.

-Abid Kazmi
 
Old 04-09-2005, 08:55 PM   #27
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally posted by rob0t
I have tried 2 versions of slackware, 2 versions of mandrake. Both leave L when booting. I tried FC2 with Grub, it didn't work out either. I have to use XP cd to get the original MBR so I can boot Windows. Also Mandrake's rescue CD offers the "install Windows bootloader" option which restores it too.
In which case, accept my apologies - seems you've done everything reasonable to attempt to fix this.
Quote:
Any way on getting both linux and windows dual boot?
I have never had these sort of issues with dual-booting. I go for a walk with the mutts, and this thread takes off
Only thing I'd be looking at is BIOS attributes for the disk - trying making it LBA. Don't use AUTO if that's what you currently have.
 
Old 04-09-2005, 09:49 PM   #28
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
The only option in Bios (Intel D865Perl Motherboard) was to either set LBA to AUTO or to Disable it. I tried disabling it. I got L when booting Linux. Same thing with AUTO. Looks like it goes through first stage like it was pointed out earlier.
 
Old 04-10-2005, 03:36 AM   #29
bhodi
LQ Newbie
 
Registered: Oct 2003
Location: Netherlands
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by egag

first the 1024 cylinder limit is no longer valid. ( it was, but someone told me some weeks ago,
that lilo can boot images that are above the 1024 cylinders )

second, it doesn't matter in wich bootblock you install lilo, as long as the lilo.conf file is correct,
and you " dd " the right bootblock ( where lilo is installed ) to the file.
Tried both, tried the 'outside 1024 cyl' yesterday with just 2 partitions, / and /home. But no success. Can't find LBA options in my BIOS and is the LILO supllied in Slackware 10.1 capable of booting any partitions no matter where?

But I prefer solving my first issue cause it really bugs me that I can't get it working anymore.

Well, this is my setup. 7,5Gb Windows prim NTFS part followed by a 250Mb ext3 prim /boot part, (/dev/hda4) (all within 1024 cyl), the rest is log part, a / part (/dev/hda6) and /home (/dev/hda7).

Installed LILO to superblock and did a 'dd if=/dev/hda6 of=/bootsect.lnx count=512 bs=1'

Lilo.conf:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda6
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x32k
vga = 790
# 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/hda4
label = Slackware
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 = WinXP
table = /dev/hda
# Windows bootable partition config ends

Last edited by bhodi; 04-10-2005 at 04:21 AM.
 
Old 04-10-2005, 06:20 AM   #30
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hmm...speaking of lba......
you can set an lba option in lilo.conf like this :

-------
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda6
#compact # faster, but won't work on all systems.
prompt
timeout = 50
lba32
# VESA framebuffer console @ 1024x768x32k
<etc....>
-------------

maybe you need that ( though i never used it )
see " man lilo.conf "

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
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 05:50 PM

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

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