LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 11-27-2011, 05:52 PM   #1
BrotherRufus
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Not enough partitions to add both primary linux and swap to existing windows 7


I shrunk Windows partition to free up 130G for slackware.
fdisk shows 3 primary partitions:
Code:
sda1 27 Hidden NTFS WinRE (recovery 20G)
sda2  7 HPFS/NTFS/exFAT   (100MB)
sda3  7 HPFS/NTFS/exFAT   (150G)
In other forum questions on dual booting, the first hidden partition is not assigned a number, so adding a bootable primary partition and extended for swap would not be a problem.

Since it is given a number on my box, how can I have a primary partition for linux and another extended partition for swap?
Am I correct in thinking that the bootable linux partition should be primary, not extended?

I am new to Win7, would like to keep it for the time being, don't have an install disk for Win7, and the disk burning software I have (NTI free edition) seems to make bootable cds by putting an unusable dos boot on it that drops to A:\ with outdated drivers, so it can't read the disks or the cd.

This is my first ever forum question, so I hope this is the right place for the thread and I have given enough info.

I have installed other linux and slackware in single and dual boots before without a hitch, but this is new to me and frustrating. Any suggestions will be greatly appreciated
 
Old 11-27-2011, 06:33 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
No, you are not correct. The fallacy that bootable partitions must be primary is only perpetrated by companies and distros stuck in the past. Windows and anything using "slices" for instance.
Grub will happily boot from a logical (not extended note) partition. I'm sure lilo will these days as well. Create an extended using all the free space, then use logicals as needed.
 
1 members found this post helpful.
Old 11-27-2011, 08:52 PM   #3
BrotherRufus
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
sig-->You presume a lot
First off, thank you!!! That is exactly what I was missing. I now have a dual boot.

It also explains why fdisk gave a warning when I tried to make the extended partition bootable. Frustration can make it difficult to see this hints from the system. Anyway, all of this had been following 3 days of trying to get it to work on top of a long string of frustrations in trying to set up windows to be useful.

In case anyone else is having similar difficulties, a few more notes:
1. Win7 won't backup to network drives (which I have), unless you upgrade to professional. It will read/write to them, though from Home Premium (at least) and let you (despite what the msdn board said) assign drive letters to network shares. Same as XP.
Anyway, I copied over my home directory and documents. I also exported my firefox passwords and bookmarks and copied them to the network drive as well.

2. After booting the slackware cd, I mounted a small usb drive and wrote out the master boot record and partition table to it. In hindsight, I should have done that before repartitioning, but worked out OK, except that...

3. I used windows to shrink the big partition size initially. None of the partitions line up to the proper boundaries--none, not even the ones it came with new. This may lead to problems later. Thankfully linux can read all of the partitions and back up everything to a network drive.

4. The small 100MB partition is the one used to boot windows, so if it's not sda1 (as in my case), lilo.conf needs to updated to point at that partition (sda2 in my case).
 
  


Reply



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
[SOLVED] Is it possible to use existing home and swap partitions? RabbidRabbit Slackware - Installation 6 04-12-2011 09:02 PM
Partitioning; safe to add a primary when already having primary and extended/logical? Wim Sturkenboom Linux - General 2 08-16-2009 12:10 PM
Partitioning Help to Add PC-BSD to Existing Windows XP Pro tschima *BSD 2 03-18-2008 09:17 AM
Windows and Linux Dual Boot, swap partitions preeth26 Linux - Newbie 5 02-24-2006 02:02 PM
4 primary partitions, windows dual boot trouble geekX Linux - General 5 02-25-2004 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 01:33 PM.

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
Open Source Consulting | Domain Registration