SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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 . . ."
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
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.
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.
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
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
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 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.