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. |
|
 |
05-27-2010, 11:43 AM
|
#1
|
|
Member
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 370
Rep:
|
Installing Slackware Linux/LILO but keeping things intact on Lenovo notebook
I'd like to install Slackware Linux with LILO on my new Lenovo notebook without disturbing the preloaded Windows 7 that's on the machine already. What I'm worried about is this hidden service partition that's required for the F11 recovery system. I would like to keep this intact and merely give me the option to dual boot using LILO. Is this possible? Does anyone have a sample LILO .conf file I can use?
|
|
|
|
05-27-2010, 11:47 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.0 (multi-lib)
Posts: 1,319
Rep: 
|
I have never tried this but I did something similar with a boot CD a long time ago (Slackware 12.0). Use a window partition program to create free space at the end of you drive. Then install Slackware to that partition. Do not install lilo but create a usb boot pen in the installation routine. This theoretically will allow you to install and boot Slackware without touching your hidden Windows partition.
Perhaps someone who has tried it will confirm that this will work.
samac
|
|
|
|
05-27-2010, 12:51 PM
|
#3
|
|
Member
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213
Rep:
|
I second this method with any Linux distro, so long as the installer will permit the user stash GRUB/LILO somewhere else beside that the Windows drive. As long as you keep third party boot loaders away from the hard drive in the notebook, then Windows and the recovery stuff it came preloaded with shouldn't even notice that it's there. The only problem with this is that you will need the USB flash drive (or other storage device) with GRUB/LILO on it to access your Linux install, but you can unplug the drive and free the port after your Linux has booted successfully.
|
|
|
|
05-27-2010, 12:59 PM
|
#4
|
|
Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057
|
|
|
|
|
05-27-2010, 03:21 PM
|
#5
|
|
Member
Registered: May 2010
Location: Vladivostok, Russia
Distribution: Slackware 13.0, Ubuntu 12.04
Posts: 95
Rep:
|
Paragon has a free partition manager which I will swear by for partioning your existing Win 7 drive. Make a partition for Slack and a small swap partition. No need to make either partition active. Install Slackware and when the Lilo menu comes up choose to install automatically to the root of your Slack partition.. not the MBR.
Then in your Win environment install the free boot manager EasyBCD 1.72.It will detect any other OS you have and identify it as Linux, BSD etc. It only edits your Win bootloader. It will give you a choice to boot to your Win or Linux partition. Make your selection for Linux and you will encounter Lilo to boot. Its the cleanest way to do it.The site gives info for Vista only but it works fine under 7.
Link to EasyBCD 2.0 (must register for beta version)
Last edited by jtarin; 05-27-2010 at 03:40 PM.
|
|
|
1 members found this post helpful.
|
05-27-2010, 03:28 PM
|
#6
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
- Use gparted or Windows' Disk Management utility to shrink the partition.
- Create a Linux partition and a swap partition in the empty space
- Install Slackware to the new partition
- Install LILO to the front of that partition (NOT the MBR)
- Reboot (ending up back in Windows)
- Install EasyBCD and use it to set up dual-booting.
EDIT: I should have read the reply above mine, which says the exact same thing.
Last edited by dugan; 05-27-2010 at 03:29 PM.
|
|
|
1 members found this post helpful.
|
05-27-2010, 08:58 PM
|
#7
|
|
Member
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213
Rep:
|
I'm sorry, but I have to make a critical correction to the above. With Windows Vista and above, you MUST use the partition editor that ships with Windows. If you try to use Gparted to shrink the Windows partition, then you will run into problems ranging from refusal to boot, the recovery software not working, or part of Windows will not work properly. Just Google it.
I once used EasyBCD on a WinXP installation and it worked great. I didn't recommend it at first because the boot menu makes it difficult to hide your Linux installation. Of course, the original poster may not have been interested in such a thing, but I consider a good set up to have on anything mobile. That way, you can play on Windows and then do most of your private/work related stuff on Linux. Just a thought ;-)
|
|
|
1 members found this post helpful.
|
05-28-2010, 12:56 AM
|
#8
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
Quote:
Originally Posted by PhoenixAndThor
With Windows Vista and above, you MUST use the partition editor that ships with Windows. If you try to use Gparted to shrink the Windows partition, then you will run into problems ranging from refusal to boot, the recovery software not working, or part of Windows will not work properly.
|
IIRC, I used gparted to resize my Vista partition and was fine. Vista ran scandisk the next time it booted up, and that was the end of it.
EDIT: The gparted site links to this howto for using gparted with Vista, which is consistent with what I remember happening:
http://www.howtogeek.com/howto/windo...sta-partition/
Last edited by dugan; 05-28-2010 at 01:07 AM.
|
|
|
1 members found this post helpful.
|
05-28-2010, 01:27 AM
|
#9
|
|
Member
Registered: May 2009
Posts: 158
Rep:
|
ive done this before
within windows 7, run diskmgmt.msc from the run dialog, and shrink your main OS drive (probably C: ) not the recovery drive
install slackware to the new space
note: i used grub, so i am going to recommend not installing lilo, although lilo may work just as well, and i assume it does.
install grub and use the standard grub entry for both the main OS and the recovery partition
e.g.
root (hd0, x)
makeactive
chainloader +1
when you boot to the recovery partition from grub it will begin the recovery process the same as if you were using windows' native tools
i assume the recovery partition will overwrite slackware though, so instead of doing this, i'd recommend creating a backup disk to install windows with, then using the recovery partition to back up your files and settings to
|
|
|
1 members found this post helpful.
|
05-29-2010, 12:37 PM
|
#10
|
|
Member
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213
Rep:
|
I guess the Acer Aspire I once had was the exception. Sorry about that.
|
|
|
|
05-29-2010, 11:48 PM
|
#11
|
|
Member
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 370
Original Poster
Rep:
|
Thanks for all the helpful replies! I had already resized the Windows 7 partition and upon booting into the Windows partition again, it did run checks on the partition. From there I used gparted to create the Linux partitions and installed Slackware. While I do prefer grub over LILO, I went with LILO because that's what is officially packaged with Slackware. Because I formatted the Linux partitions as ext4, I had to grab EasyBCD 2.0 beta to work properly. This definitely is the easiest and "cleanest" method to get dual-boot without touching the MBR!
|
|
|
|
| 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 01:43 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
|
|