Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
05-08-2010, 11:49 AM
|
#1
|
|
Member
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 47
Rep:
|
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?????
|
|
|
|
05-08-2010, 01:24 PM
|
#2
|
|
Member
Registered: Feb 2010
Distribution: Xubuntu
Posts: 40
Rep:
|
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
|
|
|
|
05-09-2010, 12:42 PM
|
#3
|
|
Member
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 47
Original Poster
Rep:
|
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....
|
|
|
|
05-09-2010, 02:33 PM
|
#4
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
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.
|
|
|
|
05-10-2010, 02:49 AM
|
#5
|
|
Member
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 47
Original Poster
Rep:
|
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
|
|
|
|
05-10-2010, 02:56 AM
|
#6
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,787
|
Try installing Lilo in your root Linux partition, not in the MBR.
For that, include:
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.
|
|
|
|
05-10-2010, 02:56 AM
|
#7
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
Quote:
Originally Posted by mpregos
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.
|
|
|
|
05-10-2010, 06:59 AM
|
#8
|
|
Member
Registered: Feb 2010
Distribution: Xubuntu
Posts: 40
Rep:
|
Quote:
Originally Posted by mpregos
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 / ?
|
|
|
|
05-10-2010, 08:12 AM
|
#9
|
|
Member
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 47
Original Poster
Rep:
|
Quote:
Originally Posted by thosch97
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?????
|
|
|
|
05-10-2010, 08:47 AM
|
#10
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,787
|
Yes
|
|
|
|
05-10-2010, 10:40 AM
|
#11
|
|
Member
Registered: Oct 2006
Location: Greece
Distribution: Slackware
Posts: 47
Original Poster
Rep:
|
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
|
|
|
|
|
06-02-2010, 01:08 PM
|
#12
|
|
LQ Newbie
Registered: Apr 2010
Distribution: Slackware64 current
Posts: 25
Rep:
|
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
|
|
|
|
06-02-2010, 01:09 PM
|
#13
|
|
LQ Newbie
Registered: Apr 2010
Distribution: Slackware64 current
Posts: 25
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:50 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|