LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-08-2010, 11:49 AM   #1
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 52

Rep: Reputation: 16
lilo cannot installed on Windows 7 boot loader - MBR!!!!!!!!!!


Hi guys,

I have a WD 80GB ATAPI hard disk for my operatings systems.
The partition table is :
/dev/hda1 - > mount "/" of slackware tree
/dev/hda2 - > mount "/home"
/dev/hda3 - > swap
/dev/hda4 - > partition of Windows 7.

First i installed Windows and then Slackware.
The problem is that in MBR , looks that lilo never installed and when my pc starts, the lilo menu never load it .
Boots directly to windows.

What i should do, in order to have the lilo menu in startup?????
 
Old 05-08-2010, 01:24 PM   #2
thosch97
Member
 
Registered: Feb 2010
Distribution: Xubuntu
Posts: 40

Rep: Reputation: 16
Sounds like you did set up Slack's bootsector on superblock.
Boot from the Slackware DVD, but at the bootprompt:
Code:
boot:  hugesmp.s root=/dev/hda1 rdinit= ro
just like shown above
 
Old 05-09-2010, 12:42 PM   #3
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 52

Original Poster
Rep: Reputation: 16
thosch97 with the command that you post it ,i will login to my slack env?????


I try to it and i succesfull login to slack......
the problem remain....i don't want to use everytime the SlackDVD in order to boot in KDE....
 
Old 05-09-2010, 02:33 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,199

Rep: Reputation: 290Reputation: 290Reputation: 290
Run liloconfig and set lilo up properly using MBR (Master Boot Record)

Incidently if you run pkgtool you can choose setup scripts to run again. Handy piece of kit.

Last edited by dive; 05-09-2010 at 02:36 PM.
 
Old 05-10-2010, 02:49 AM   #5
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 52

Original Poster
Rep: Reputation: 16
dive i have done this 10 or more times but ...no works..

I boot in slack DVD and mount in /mnt the /dev/hda1.
Then
- cd /mnt/etc.
- liloconfig
- lilo

result of lilo:
Have 3 warnings , about 32 LBA addressing, something like that and for 256 color .
Added Windows
Added Slackware

- Restart
- Error : no lilo menu - Go direct ot Windows 7
 
Old 05-10-2010, 02:56 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,970

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Try installing Lilo in your root Linux partition, not in the MBR.

For that, include:
Code:
boot = /dev/hda1
at the beginning of /etc/lilo.conf

and of course run lilo again.

Last edited by Didier Spaier; 05-10-2010 at 07:01 AM.
 
Old 05-10-2010, 02:56 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,199

Rep: Reputation: 290Reputation: 290Reputation: 290
Quote:
Originally Posted by mpregos View Post
dive i have done this 10 or more times but ...no works..

I boot in slack DVD and mount in /mnt the /dev/hda1.
Then
- cd /mnt/etc.
- liloconfig
- lilo

result of lilo:
Have 3 warnings , about 32 LBA addressing, something like that and for 256 color .
Added Windows
Added Slackware

- Restart
- Error : no lilo menu - Go direct ot Windows 7
I don't think doing it that way will work. You need to 'chroot /mnt' after mounting and then do it.
 
Old 05-10-2010, 06:59 AM   #8
thosch97
Member
 
Registered: Feb 2010
Distribution: Xubuntu
Posts: 40

Rep: Reputation: 16
Quote:
Originally Posted by mpregos View Post
thosch97 with the command that you post it ,i will login to my slack env?????


I try to it and i succesfull login to slack......
the problem remain....i don't want to use everytime the SlackDVD in order to boot in KDE....
and after you booted and logged in, run "liloconfig" again (root of course)
after that maybe "# lilo" is needed...
btw what fs is your / ?
 
Old 05-10-2010, 08:12 AM   #9
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 52

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by thosch97 View Post
and after you booted and logged in, run "liloconfig" again (root of course)
after that maybe "# lilo" is needed...
btw what fs is your / ?
ext4 -> /(hda1)
ext4 -> /home(hda1)

In cfdisk i set as bootable hda4(..i think because now i'm out of home).
Could be this the root of the problem?????
 
Old 05-10-2010, 08:47 AM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,970

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
Yes
 
Old 05-10-2010, 10:40 AM   #11
mpregos
Member
 
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 52

Original Poster
Rep: Reputation: 16
boot flag is in dev/hda1, my "/" partition.....

Now i'm writing inside slack,with a little help of SlackDVD.

lilo command output :
Quote:
Warning: LBA32 addressing assumed
Warning: Unable to determine video adapter in use in the present system.
Warning: Video adapter does not support VESA BIOS extensions needed for
display of 256 colors. Boot loader will fall back to TEXT only operation.
Added Slackware64_13 *
Added WindowS7_64
3 warnings were issued.

And liloconfig:
Quote:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.


# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Slackware64_13
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda4
label = WindowS7_64
table = /dev/hda
# Windows bootable partition config ends
 
Old 06-02-2010, 01:08 PM   #12
genhappyok
LQ Newbie
 
Registered: Apr 2010
Distribution: Slackware64 current
Posts: 26

Rep: Reputation: 0
http://port25.technet.com/archive/2006/10/13/Using-Vista_2700_s-Boot-Manager-to-Boot-

i dual boot with xp's boot loader, this site is for vista, should work for 7, as its vista based, havent confirmed it though, hope this leads you in the right direction
 
Old 06-02-2010, 01:09 PM   #13
genhappyok
LQ Newbie
 
Registered: Apr 2010
Distribution: Slackware64 current
Posts: 26

Rep: Reputation: 0
http://port25.technet.com/archive/20...M-Support.aspx


didnt post right
 
  


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
Fedora Remove and restoring windows MBR boot loader eng_muhammad Fedora 3 12-03-2005 12:39 PM
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) cangussu.br Linux - Newbie 2 05-05-2005 10:46 PM
Removing Lilo, restoring to windows boot loader seeker131 Linux - Newbie 7 03-01-2005 05:26 PM
If I install LILO to the MBR, can I use it to boot Windows XP? squirrels Linux - General 3 06-11-2004 02:18 PM


All times are GMT -5. The time now is 04:59 AM.

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