LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-30-2012, 05:03 PM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,118

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Any Thoughts on Dual-booting Slackware and Win 7?


I have a laptop. It came with Vista (ugh!). I updated to Win 7 when Dell sent that along. I cut Win 7 down to 50G and installed Slackware 13.37 on the rest of the disk -- I paid the danged Microsoft tax, figured there might accidentally be a use for it, so, phooey, leave it and dual-boot. I wrote the Slackware boot to the master boot record. Things worked.

Win 7 ate itself. OK, wipe the whole thing, reinstall Win 7. Wait through 157 (yes, kids, 157!) critical updates. Gag me with a spoon. Ten more in the last two weeks. Sheesh! Only thing I'll ever use the damned thing for for is TurboTax ('case TurboTax will not run in a Win 7 guest in VirtualBox on my "main" Slackware 13.37 64-bit box, mumble, grumble). Nobody knows why and I don't care all that much as long as I can get through the blasted tax returns.

Now, Win 7 occupies three primary partitions (that it creates on its own). I'd like to reinstall Slackware 13.37 64-bit on that box (the proc doesn't support virtualization so that's why the dual-boot in the first place). I can install Slackware in logical partitions, no problem but I'm wondering if there is some weird Microsoft thing going on that blows the MBR somewhere along the line and that I ought to figure out how to dual-boot so I don't have that problem again; hundred and fifty seven updates, gimme a break.

So, can I just tell LILO to boot /dev/sda5 and not have to have some USB stick or some nonsense handy all the time? I mean, just make /dev/sda5 bootable, tell LILO and that's it? Or..., or..., or is there some other way (like take a chance on the MBR)? You know, I do not want to have to rebuild the blasted thing again and to get any use out of it at all it has to have Slackware on it, and I'm not all that sure about what or how to actually accomplish that.

Thanks.
 
Old 01-30-2012, 05:17 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,134
Blog Entries: 52

Rep: Reputation: Disabled
You should be OK installing lilo to the MBR. That's what I did when I had an XP Pro and Slack dual-boot. XP was automatically added to lilo.conf.
 
Old 01-30-2012, 05:42 PM   #3
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware 13.37
Posts: 785

Rep: Reputation: 31
Quote:
Originally Posted by tronayne View Post
I have a laptop. It came with Vista (ugh!). I updated to Win 7 when Dell sent that along. I cut Win 7 down to 50G and installed Slackware 13.37 on the rest of the disk -- I paid the danged Microsoft tax, figured there might accidentally be a use for it, so, phooey, leave it and dual-boot. I wrote the Slackware boot to the master boot record. Things worked.

Win 7 ate itself. OK, wipe the whole thing, reinstall Win 7. Wait through 157 (yes, kids, 157!) critical updates. Gag me with a spoon. Ten more in the last two weeks. Sheesh! Only thing I'll ever use the damned thing for for is TurboTax ('case TurboTax will not run in a Win 7 guest in VirtualBox on my "main" Slackware 13.37 64-bit box, mumble, grumble). Nobody knows why and I don't care all that much as long as I can get through the blasted tax returns.

Now, Win 7 occupies three primary partitions (that it creates on its own). I'd like to reinstall Slackware 13.37 64-bit on that box (the proc doesn't support virtualization so that's why the dual-boot in the first place). I can install Slackware in logical partitions, no problem but I'm wondering if there is some weird Microsoft thing going on that blows the MBR somewhere along the line and that I ought to figure out how to dual-boot so I don't have that problem again; hundred and fifty seven updates, gimme a break.

So, can I just tell LILO to boot /dev/sda5 and not have to have some USB stick or some nonsense handy all the time? I mean, just make /dev/sda5 bootable, tell LILO and that's it? Or..., or..., or is there some other way (like take a chance on the MBR)? You know, I do not want to have to rebuild the blasted thing again and to get any use out of it at all it has to have Slackware on it, and I'm not all that sure about what or how to actually accomplish that.

Thanks.
In a world without walls or fences, who needs Gates or Windows?

/I wish I had come up with that.
 
Old 01-31-2012, 07:33 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,118

Original Poster
Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Quote:
Originally Posted by brianL View Post
You should be OK installing lilo to the MBR. That's what I did when I had an XP Pro and Slack dual-boot. XP was automatically added to lilo.conf.
Yeah, that's what I did do with XP (and Win98 too) in a world prior to VirtualBox and never had a problem (boy, oh, boy, those were the days...). I did that with Win7, too, and could still boot Slackware, no problem, when Win7 decided that it wasn't going to boot (or fix itself or whatever the hell Microjunk does) which got me to wondering whether it had done something to itself in their secret system reserved partition. I really do hate the damned thing but it's almost impossible to live in computer world without Windows, particularly if you're getting paid to do stuff every now and again (I really don't use it for anything but Stamps.com and TurboTax and, well, Family Tree Maker but that's another story -- and those run just fine in VirtualBox).

I trust Slackware and I cannot believe that LILO blew something (it did boot Slackware and it tried to boot Win7) but who knows what evil lurks in Redmonds Evil Empire, eh? They keep yammering about protecting Win7 from whatever it is they try to protect their mostly crappy software from and... well, I dunno.

Thanks for the input.
 
Old 01-31-2012, 07:42 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,134
Blog Entries: 52

Rep: Reputation: Disabled
I've never tried 7, and don't intend to. The only windows I've got now are the glass ones.
 
Old 01-31-2012, 09:34 AM   #6
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,976

Rep: Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555Reputation: 1555
I usually install LILO to the Slackware partition and use EasyBCD to set up dual boot.
 
Old 01-31-2012, 10:32 AM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,385

Rep: Reputation: 186Reputation: 186
windows 7 uses a boot partition, that is one reason windows 7 creates three partitions, not sure what the other partition is for. Install lilo to Mbr and chainload to the boot partition, I think it will be the second partition, but not sure
 
Old 01-31-2012, 11:13 AM   #8
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.1 64bit
Posts: 735
Blog Entries: 3

Rep: Reputation: 81
Quote:
Originally Posted by dugan View Post
I usually install LILO to the Slackware partition and use EasyBCD to set up dual boot.
In line with what dugan said, I've done a dual-boot with Windows Vista and Slackware using those instructions:

dual-boot-linux-and-windows-vista-windows-bootloader

One interesting information at the beginning is:

Quote:
In Windows Vista Microsoft changed the loader tools. There is no way to use boot.ini file any more. It was easy and clean way to add linux as secondary system ,but not any more.
So I would guess that something similar is at play with Windows 7.

A little googling should bring you some tutorials on how to do the same trick with Windows 7
 
Old 01-31-2012, 12:19 PM   #9
kfritz
Member
 
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 75

Rep: Reputation: 20
These instructions worked well for me:
http://www.iceflatline.com/2009/09/h...using-bcdedit/

If you do an update that causes lilo to be run, you may need to grab the MBR off your partition and stick it on the NTFS partition again. This happened once to me, but I'm not sure what caused it.
 
Old 01-31-2012, 02:20 PM   #10
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 398

Rep: Reputation: 64
I've got lilo in the mbr and booting between windows 7 and slackware 13.37 with no issues.

Here's the relevant bit of my lilo.conf - note /dev/sda2 is primary parition and is marked bootable.
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.37.6-smp
  initrd = /boot/initrd.gz
  root = /dev/sda5
  label = Linux
  read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda2
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda5
  label = Linux-huge
  read-only
# Linux bootable partition config ends

Last edited by mcnalu; 01-31-2012 at 02:21 PM. Reason: missing lines
 
  


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
Error when dual booting Win XP RealMadrid2727 Ubuntu 1 05-19-2005 07:55 PM
Dual booting Win XP and FC3 Ritone Linux - Newbie 2 01-29-2005 04:07 PM
Dual Booting Win XP and RH 8.0 Hippolilo Linux - Newbie 6 11-21-2002 01:53 AM
dual booting with with Win XP duckjob Linux - Newbie 4 01-16-2002 11:50 AM
Dual booting system w/ Win ME Cannon Linux - Newbie 7 04-09-2001 01:35 PM


All times are GMT -5. The time now is 01:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration