LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 05-27-2010, 11:43 AM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 385

Rep: Reputation: 23
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?
 
Old 05-27-2010, 11:47 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,399

Rep: Reputation: 131Reputation: 131
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
 
Old 05-27-2010, 12:51 PM   #3
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 38
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.
 
Old 05-27-2010, 12:59 PM   #4
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
see here
http://www.linuxquestions.org/questi...tition-810503/
 
Old 05-27-2010, 03:21 PM   #5
jtarin
Member
 
Registered: May 2010
Location: Vladivostok, Russia
Distribution: Slackware 13.0, Ubuntu 12.04
Posts: 95

Rep: Reputation: 22
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.
Old 05-27-2010, 03:28 PM   #6
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,238

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
  1. Use gparted or Windows' Disk Management utility to shrink the partition.
  2. Create a Linux partition and a swap partition in the empty space
  3. Install Slackware to the new partition
  4. Install LILO to the front of that partition (NOT the MBR)
  5. Reboot (ending up back in Windows)
  6. 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.
Old 05-27-2010, 08:58 PM   #7
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 38
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.
Old 05-28-2010, 12:56 AM   #8
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,238

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
Quote:
Originally Posted by PhoenixAndThor View Post
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.
Old 05-28-2010, 01:27 AM   #9
botnet
Member
 
Registered: May 2009
Posts: 158

Rep: Reputation: 40
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.
Old 05-29-2010, 12:37 PM   #10
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 38
I guess the Acer Aspire I once had was the exception. Sorry about that.
 
Old 05-29-2010, 11:48 PM   #11
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 385

Original Poster
Rep: Reputation: 23
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!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lenovo G560 notebook and Linux zylex Linux - Laptop and Netbook 9 05-31-2010 05:44 AM
[SOLVED] Reinstall. Access same /home directory as before keeping permissions (UID) intact MaxIBoy Linux - General 4 12-14-2009 01:43 PM
installing fedora again after formatting C (for Vista) with linux partition intact avd122 Linux - Laptop and Netbook 4 12-25-2008 06:21 PM
The things keeping me from completely enjoying Linux... gamelord12 Linux - Software 10 10-20-2008 12:15 AM
things to do before and after installing slackware oldi Slackware 7 04-11-2004 08:22 AM


All times are GMT -5. The time now is 02:05 PM.

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