LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-05-2013, 11:15 PM   #1
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Debian 6 dual boot with Win 7: No option for "Use largest continuous free partition"


Hello Friends,

Hope you're fine.

Today, I tried to install Debian 6.0 in dual boot with Windows 7. To do this, I first shrunk my Windown 7 E partition by 100 GB and created an unalloted 100 GB partition. Then I started installation of Debian 6.0 with a CD.

Everything goes fine, but while detecting disks, it didn't show me an option for "Guided - Use largest continuous free partition". But only showed Guide - Use entire disk etc.

So do anybody has ideas that what's wrong?

TIA
 
Old 03-06-2013, 01:16 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
Please check this document here and check partitioning section. In my case, I couldn't find the option Guided - use the largest continuous free space.
 
Old 03-06-2013, 02:09 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
The link you posted points to Lenny and not Squeeze (the current Debian version).

If I look at Squeeze Partition Disk screen-shots I do not see the option you mention:

- Debian 6.0 'Squeeze' Installation Guide (p2)
- Debian Squeeze 6.0 installation screen shots and review

I also don't recall seeing this option the last time I installed Debian 6 (Squeeze). But then again, I always use the Manual option....
 
Old 03-06-2013, 02:27 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
@druuna:
Yes, I know it's a document for different version, but the same option i.e. Guided - use the largest continuous free space is available in Squeeze also. But I just don't know how to activate this.

Else, just think that how can I install debian in dual boot with Winsows 7 on unalloted 100 GB partition? I don't want to install it on whole 1 TB of H/D, that has Windows already installed. But I want to install Debian 6.0 on unallotted 100GB partition.

TIA.
 
Old 03-06-2013, 02:40 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by shivaa View Post
Else, just think that how can I install debian in dual boot with Winsows 7 on unalloted 100 GB partition? I don't want to install it on whole 1 TB of H/D, that has Windows already installed. But I want to install Debian 6.0 on unallotted 100GB partition.
Why not use the Manual option and select the appropriate free partition yourself?

This option will give you all the control you need/want.
 
Old 03-06-2013, 02:47 AM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
I have tried Manual option as well, but then it showed some 4 or 5 partitions of different sizes (but no partition of 100 Gb). But I will try it again and will come back with output.

Thanks for your responses!

Ciao!
 
Old 03-06-2013, 02:59 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Does the partition in question show up when executing fdsik -l /dev/xyz

Once the disk is detected by the installer (when the partition screen appears) you can go to another terminal using alt-F2 and execute the fdisk command.
 
Old 03-06-2013, 12:39 PM   #8
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
Hi Druuna, Thanks for your responses.

I once again clear the situation:
I have a laptop with Win7 installed and has 750G of H/D with follwoing partitions: C: 200G, D: 200G, E: 200G and F: 100G (created by shrinking E partition and it's unalloted partition)

I want to install Debian on F partition which is 100G. When I follow all the steps of installation, it lets me to the disk partitons, and there I choose Manual option and it shows me something like:
Code:
H/D..... 750GB 
#2...... 9MB
#3...... 101MB
#4...... 216GB
#5...... 532GB
Now I am unable to decide what to do next to it?

I also tried ALT+F2 at this, but nothing happened. I had chose Graphical installation.
 
Old 03-06-2013, 05:40 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,183

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
You are going to run into a problem installing on that partition table.

You have 4 partitions. Assuming that it is an MSDos partition table, which would be the common one for your box I think, you can only have 4 Primary partitions.

Debian will want 2 partitions, at least, one for the install itself and one for "swap". Swap is used if your memory gets swamped or if you want to suspend (or hybrinate - I don't do either on the Desktop box I have so am not clear on that).

What you should do is get yourself a Live CD;
http://www.debian.org/CD/live/

You want one that is under a heading of;
CD/DVD/USB

Burn that image the same way you did the Install Disk.

Set your bios so that your box will boot first from an optical drive for CD or DVD or from a USB device for a USB Stick.

Reboot with which ever of those you are using connected to your box. Should boot to a Desktop environment. There you can find Gparted (partition editor included with most Live CDs no matter who put the thing out).

With it you can take your target empty space and make a special type of Primary Partition called an Extended Partition. You can then put several smaller Logical partitions within that Extended partition.

I would make your /swap partition double the size of your ram.

You could then format the rest of the Extended to one partition and install there.

I would recommend, as most here would, that you make 2 partitions (ext4) for your install. One about 10 or 15 gigs for your root partitions /, and the rest for your home partition /home.

Write down the partition numbers which should be something like sda5 sda6 and sda7 so you now which is /, /home and /swap.

You can install from the Live Session at this point or reboot to your other Install Disk. Use the manual partitioning and simply point the installer to your / partition and your /home partition. It will pick up /swap on its own.

Separating your system files in a / partition from your personal user files in a /home partition is good for a number of reasons so please do this if you are willing.
 
1 members found this post helpful.
Old 03-07-2013, 01:10 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by shivaa View Post
I once again clear the situation:
I have a laptop with Win7 installed and has 750G of H/D with follwoing partitions: C: 200G, D: 200G, E: 200G and F: 100G (created by shrinking E partition and it's unalloted partition)

I want to install Debian on F partition which is 100G. When I follow all the steps of installation, it lets me to the disk partitons, and there I choose Manual option and it shows me something like:
Code:
H/D..... 750GB 
#2...... 9MB
#3...... 101MB
#4...... 216GB
#5...... 532GB
This might be a primary/extended partitioning problem (as also suggested by widget).

I assume that #3 is your 200Gb C partition and that D, E and F are inside #5. I cannot see from the output if #5 is an extended partition that has 3 separate logical partitions. The output of fdisk -l /dev/xyz should shed some light on that.

Quote:
I also tried ALT+F2 at this, but nothing happened. I had chose Graphical installation.
You need to use ctrl-alt-F2 when using a graphical environment. And alt-F5 to return.

BTW: Swap isn't necessary, although it is recommended by the Debian installer. If you do intent to use hibernation then you _do_ need swap (twice the RAM size).
 
Old 03-09-2013, 01:43 PM   #11
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
Hello All,

Thanks for your good time and efforts.

Well, I tried with a debian live cd this time, as 'widget' suggested, but with same result. Debian cannot identify the unalloted 100G space.

So, now I doubt that my Windows partitions are not ok. I have 3 partitions (C, D and E) and all are primary. I had shrunk the last partition by 100G and created a 100 G of unalloted space for debian installation. (see attached screenshot).

Please suggest if something is wrong with Windows partitions.

TIA.
Attached Images
File Type: png Disks.png (67.8 KB, 23 views)
 
Old 03-09-2013, 02:07 PM   #12
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,183

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
You have 4 primary partition on there. You can not have more than four.

Debian, or any other OS you use is not going to use that empty space.

If you ran gparted from the live cd you would have seen the same thing.

If you use that MS partitioning tool it is not going to do a thing with that empty space either.

Your partitions are fine. There are too many of them.

From your live cd you can, by simply using the file manager, see what is in those partitions. There is one you do not need in the least. I don't know which one it is. Have not used MS since W98. I would look at the contents and find out which is simply there to use up that last Primary slot.

Get rid of it.

If you need to then move the MS partitions so that all your free space is in one place.

Create a 4th partion that is an Extened partition from that free space.

Your installer should then be able to see and use that space.

If you are smart you will use gparted to create the partitions before installing.

I explained before that you can only have 4 Primary partitions. Look at your own screen shot and count what you have there.
 
Old 03-09-2013, 10:15 PM   #13
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Original Poster
Rep: Reputation: 285Reputation: 285Reputation: 285
Thanks Widget.

As checked using live image, I found:
Quote:
#2...... 9MB ....... Win system reserved
#3...... 101MB ....... Win system reserved
#4...... 216GB ....... Win C drive
#5...... 532GB ....... Win D+E drive
So I could conclude that in order to dual boot, I should have only one partition on Windows i.e. C. I then need to shrink it to some extent to add one more partition for debian installation.

But original questions still remains unanswered, why it's not showing option "Use largest continuous free partition"?
 
Old 03-09-2013, 11:20 PM   #14
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Sitting in front of my computer.
Distribution: Debian
Posts: 1,004
Blog Entries: 2

Rep: Reputation: 252Reputation: 252Reputation: 252
Quote:
Originally Posted by shivaa View Post
But original questions still remains unanswered, why it's not showing option "Use largest continuous free partition"?
Because according to widget's explained, you do not have a free partition. If I interpret widget correctly, you have four Windows partitions. Without an empty partition, Debian can only offer you one option - use entire disc.
 
Old 03-09-2013, 11:43 PM   #15
descendant_command
Member
 
Registered: Mar 2012
Posts: 757

Rep: Reputation: 159Reputation: 159
I also note that it is a Windows "dynamic" disk ... win version of LVM...for the WHOLE DRIVE.
Good luck.
See here - http://forums.debian.net/viewtopic.php?t=59789#p348703

Last edited by descendant_command; 03-09-2013 at 11:45 PM.
 
  


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
"No Operating System Found" after Win 7/BackTrack dual boot install on SSD Pop45398 Linux - Newbie 5 05-15-2012 10:05 PM
I can not boot into window(if i select windows from option "invalid partition table" janakiramulu Linux - Newbie 5 03-09-2011 03:15 AM
Make " restored" XP partition image boot for Linux (first)-XP dual-boot mowley Linux - Newbie 52 08-23-2010 02:00 AM
Stuck on "GRUB_" Screen - Will boot from Live CD "Boot from first hard disk" option Snowman11 Linux - Newbie 10 02-01-2009 06:52 PM
"Grub" is displayed in dual-boot dual-drive Win xp and Fedora 6 installation hanscom Linux - Newbie 10 02-28-2007 10:48 AM


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