LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-02-2010, 12:47 AM   #1
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
Windows 7 / Slackware Dual boot


I know there are a ridiculous number of guides about this topic, please forgive my laziness. I simply don't have the time or MS Windows expertise to filter out the crap from the gold.

I'm bound to use Windows 7 for work. I tried to like Windows, I really did, and at first I enjoyed learning a new system. Nonetheless, I find it to be absolutely crippling for anything I'd like to do beyond logging into my corporate website.

So now I've rambled on about a very simple question. I'm looking for a concise and coherent guide to installing Slackware alongside an existing Windows 7 installation. I'm hoping there is a canonical way to shrink the Windows partition, install Linux, and setup a bootloader.

Has anyone found a robust, stable, and efficient set of instructions for installing Linux alongside an existing Windows 7 installation?
 
Old 08-02-2010, 01:13 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

Have a look at this link. It's for dual booting Windows 7 and Ubuntu but the principal is the same.
Dual boot Win7 and Ubuntu.

Hope that helps.

Kind regards,

Eric
 
1 members found this post helpful.
Old 08-02-2010, 01:13 AM   #3
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 607

Rep: Reputation: 218Reputation: 218Reputation: 218
If I can correctly presume that you are an experienced Linux user, I can provide you a concise guide . . . It may seem strange . . .

1) Download and burn the Ubuntu 10.04 install CD.

2) Download and burn (or buy) the Slackware 13.1 install DVD.

3) Back-up anything on the Windows system that you just can't live without.

4) Boot with the Ubuntu CD, and run as a Live CD (I think you select "Run from CD" at the prompt.)

5) Once the Live Ubuntu system loads up, open a terminal and do a 'sudo gparted'

6) Use gparted to re-size your Windows 7 partition as small as you like.

7) Shut down.

8) Boot the Slackware install DVD.

9) Use cfdisk to define swap and Linux native partitions behind the Windows partition.

10) Install Slackware as normal.

11) During the LILO configuration after the installation of the packages, be sure to include the Windows partition.

12) Enjoy the dual-boot Slackware/Windows 7 system.

I know that it may seem odd to recommend burning and using an Ubuntu install CD . . . especially as a Slackware guy talking to another one.

However, the Ubuntu 10 CD is a pretty nice Live CD to have around, and the Slackware DVD doesn't provide gparted. I discovered the handiness of the Ubuntu CD when putzing around with the new release. It's also nice to have around when you're at a friend or relative's house and they start complaining about their computer . . . "My computer's getting slow. I hate getting viruses. I can't stand these error messages." You just pull out the Ubuntu CD and say, "I can fix it in thirty minutes or so . . ."
 
1 members found this post helpful.
Old 08-02-2010, 01:15 AM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
What's wrong with gpartd?

http://thpc.info/how/use_gparted_to_...partition.html

PS:
A couple of other folks came in before I clicked [Submit].

But it sounds like the consensus is "gparted"

PPS:
I just read EricTRA's link. In addition to GParted, they also recommend going into Windows 7 Disk Manager and shrinking the partition in Windows, first. Good advice!

Last edited by paulsm4; 08-02-2010 at 01:18 AM.
 
Old 08-02-2010, 07:12 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 2,865

Rep: Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698Reputation: 698
Things that may byte you in the hiney (been there, did that, didn't like it too much).

Winders seems to like to be installed first (it overwrites the MBR). And, Win 7 sucks up three primary partitions, so you can only have one primary partition (plus whatever number of logical partitions you want) for Slackware. When you're installing Win 7, you can decide what size you want (I made it 20G on a 250G drive) or, if you're redoing an existing Win 7 installation (like the one from the factory), you can use the Win 7 disk manager and shrink it down to 20G or whatever).

Those Win 7 partitions are a 1.05M "unusable," a 104.86M one for... hell, I don't know and don't much care but it just has to be there (it's Win 7, I only use it when I absolutely have to, and I really don't want to know much of anything about it), and the one for whatever you decide to use (the 20G that I chose). Once you get that part done (and wait for all the security fixes to download and install), you can install Slackware.

The root partition really wants to be /dev/sda3 (the first Win 7 one has no number, the second is sda1 and the third is sda2). I create logical partitions for /opt, /usr/local, /var/lib/mysql, /var/lib/virtual (I have XP, also only for absolutely when needed) in VirtualBox), /home and a /spares that I use for whatever. I do this so that, when a new release of Slackware comes along, I can do a "clean" installation without disturbing anything (just don't format the partition when you're adding entries for fstab during setup). YMMV.

At the end of the installation, write to the MBR and viola you're in business.

Now the one funky thing that, on my box, has to be this way: /dev/sda3 has to be bootable; i.e., the Linux root partition has to have the bootable flag set in cfdisk. Don't know why but it does not work unless that flag is on.

The above works just fine (well, as "fine" as anything Microjunk makes will ever work) and has been through two iterations of Slackware (13.0 and 13.1) with zero problems.

Hope this helps some.
 
Old 08-02-2010, 11:22 PM   #6
Elmware
Member
 
Registered: May 2006
Location: Canada
Distribution: Slackware 13 and fedora 15
Posts: 32

Rep: Reputation: 0
I've had no problem installing Slackware onto a computer with Windows7. The nice thing about Windows7 (and Vista) is that you can make a new partition without reformatting the whole drive and you don't even need Partition Magic or whatever to do it. All you have to do is go to Computer Management in the control panel and select the hard disk, right click and select Shrink Partition. Run Linux Setup and select the second partion for installing it on (probably /dev/hda5). After installing Linux, select to have Linux boot from that partition. Download a BCDEditor like EasyBCD. Using the BCDEditor, add the path to Linux and you should be good to go once you save your BCD file.

If you don't want to mess with the BCD file, then you can opt for installing LILO or GRUB instead.
 
Old 08-03-2010, 12:01 AM   #7
ratawal
LQ Newbie
 
Registered: Jul 2010
Posts: 11
Blog Entries: 1

Rep: Reputation: 0
well dual boot with windows and slackware is just a shrinking of the windows partition you can choose any of partition for windows instalation but for avoiding the error make it simple first
1.install windows and make sevral other prtition as you like to store the data or whatever
2.for a sinario i take my lappy i make three partition
a.localdrive c:
b.localdrive d:
c.localdrive e:
3.now install the win7 in c: and then
4.after that run any live CD of linux as you like for me it is bt4
5.now click for instalation and then choose the resize option (dont worry it dosnt mean that you have to make it by giving it lable and mounting etc)
just use the gui facility in the instalation setup and resize the windows partition
6.and then start installing linux for this sinario bt4

well resizing meanes you have to shrink the win7 partition and make three partition from the remaning free space(root,home,and swap note swap must be half of you physical mamory "ram")
for root ext3 format
for home same
for swap ????? swap
thnk you
 
Old 08-04-2010, 01:02 AM   #8
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
Thank-you for all the feedback. I'll give this a try over the weekend and report the results here. It sounds like things have come quite far, as this is sounding much easier than I anticipated. Thank-you tronayne for pointing out some sticking points. Such sticking points are the primary reason for my questions.

Windows was great for the two minutes that I wanted to tweak UI settings without editing a config file, but it's excessively crippling at this point. Perhaps this stems my ignorance of the system, but I'll just go ahead and blame it on Redmond.

I'll be relieved to have Slackware back.

Thanks again.

Jacob
 
Old 09-07-2010, 12:06 AM   #9
aherrys
Member
 
Registered: Jul 2003
Posts: 64

Rep: Reputation: 15
I use EasyBCD from Neo Smart Technologies http://neosmart.net/dl.php?id=1
Works like a charm... Uses the windows 7 boot manager though so it is especially useful if you already have the windows 7 pre-installed in your PC.
 
  


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
How do I install Slackware to dual-boot with Windows XP? tin Slackware 9 06-20-2010 12:05 PM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
dual boot Slackware 10.1 with Windows XP houler Slackware - Installation 47 05-30-2006 02:47 AM
Can Slackware dual boot with windows XP? TigerLinux Slackware 14 10-03-2005 06:27 PM


All times are GMT -5. The time now is 08:22 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