LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2010, 12:54 PM   #16
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197

Quote:
Originally Posted by crashhh View Post
I just found out through Disk Management that my D: is already a logical drive (inside an extended partition of course). Do I need to take another route or do something about it?
No. That just makes things a little simpler.

Defragment D: using the tools inside Windows.

Then resize it smaller using the GUI partitioning program on any Linux liveCD (such as the Ubuntu install CD).

That leaves your "unpartitioned" space exactly where you want it, inside the existing extended partition.

The "unpartitioned" space can that be split into two or more additional logical partitions either manually in the GUI partitioning tool or automatically by the Linux installer, and used for / and swap and (if you don't follow my advice) any additional partitions you want for Linux subdirectories.
 
1 members found this post helpful.
Old 08-27-2010, 02:39 PM   #17
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Before you do anything irremittable...

Do you have a linux live-cd with which you can open a terminal and, with root privileges, execute the command "fdisk -l" and post?

johnsfine likes D, but you might verify that linux sees D as an extended partition it can use.

Last edited by thorkelljarl; 08-27-2010 at 02:44 PM.
 
1 members found this post helpful.
Old 08-27-2010, 03:03 PM   #18
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by crashhh View Post
I'm not yet installing ubuntu by the way, I have to get my files backed up first. Thanks again.
Have you burned a Ubuntu install CD yet?

If so do you know how to get it to boot up in liveCD mode rather than installer mode? I'm not 100% sure of that myself. On many occasions booting a Ubuntu install CD, I've seen two levels (IsoLinux and later) at which you get that choice, but neither level is always there. Sometimes one or both gets skipped. But don't worry, you need to get fairly far into the Ubuntu installer before it can destroy anything. So if you get into the installer when you wanted liveCD mode, you can reboot.

At the moment right after the BIOS gives control to code loaded from the CD, pressing any key will get you into an IsoLinux menu (or sometimes a submenu of it that you can ESC out of). That lets you select the installer or the liveCD mode or some other choices and lets you customize the booting of any of the choices. I can use that myself without problems, but I'm not sure an ordinary user would recognize the moment during booting that the BIOS gives control to software on the CD.

Quote:
Originally Posted by thorkelljarl View Post
Do you have a linux live-cd with which you can open a terminal and, with root privileges, execute the command "fdisk -l" and post?

johnsfine likes D, but you might verify that linux sees D as an extended partition it can use.
I don't disagree with a "look before you leap" approach.

Anyone answering you so far is making assumptions about the details of your partitioning based on what you say about C: and D:. But anything you might say about C: and D: is at best an indirect indication of what is in your partition table.

Posting the actual partition table (output from fdisk -l) would eliminate some possible bad advice based on bad assumptions about your current partitions).

Last edited by johnsfine; 08-27-2010 at 03:10 PM.
 
1 members found this post helpful.
Old 08-27-2010, 03:21 PM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by johnsfine View Post
If so do you know how to get it to boot up in liveCD mode rather than installer mode? I'm not 100% sure of that myself.
On the bootsplash screen, you can choose install, or run as live with an install icon on the desktop.
 
Old 08-30-2010, 09:24 PM   #20
crashhh
LQ Newbie
 
Registered: Aug 2010
Location: ph
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johnsfine View Post
No. That just makes things a little simpler.
I got it, thanks for clearing that up.

To answer your questions, though I didn't burn the ISO into a CD, I have it on my flash disk. Before I first posted here, I was able to test Ubuntu on my pc without installing it.

Quote:
Originally Posted by thorkelljarl View Post
Before you do anything irremittable...

Do you have a linux live-cd with which you can open a terminal and, with root privileges, execute the command "fdisk -l" and post?

johnsfine likes D, but you might verify that linux sees D as an extended partition it can use.
I'm at the office at the moment, I'll post the results from that command when I get home. While using Ubuntu, it was able to see my current partitions, C: and D:, though I don't know if that tells Ubuntu shows D: as an extended partition.

Sorry for only replying now, I'll post the "fdisk -l" results asap. Thanks again.
 
Old 08-31-2010, 09:16 AM   #21
crashhh
LQ Newbie
 
Registered: Aug 2010
Location: ph
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Well, here's what fdisk says:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xed03ed03

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9728 78140128+ 7 HPFS/NTFS
/dev/sda2 9729 38912 234420480 f W95 Ext'd (LBA)
/dev/sda5 9729 38912 234420448+ 7 HPFS/NTFS

Disk /dev/sdb: 1007 MB, 1007681536 bytes
16 heads, 32 sectors/track, 3844 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

I presume sda1 is my flash disk.
 
Old 08-31-2010, 09:35 AM   #22
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by crashhh View Post
I presume sda1 is my flash disk.
No. sda1 is your C: partition.

I think sdb is your flash drive.

sda2 is the extended partition containing the logical partitions.

sda5 is your D: partition.

So you want to resize sda5 to be smaller, so there is space to create new logical partitions for Linux.
 
1 members found this post helpful.
Old 08-31-2010, 09:56 PM   #23
crashhh
LQ Newbie
 
Registered: Aug 2010
Location: ph
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Alrighty then. I guess I'm all set. Thanks for the help guys.
 
Old 09-01-2010, 11:56 AM   #24
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Just in case...

In case it is not clear, to you and to Ubuntu, the partitions you make in the space that you created from "D" are logical partitions. You are still within sda2, the extended partition.

The partitioning proposal that Ubuntu makes at the time of installation may not want to place Ubuntu where you want it. Look at the proposal carefully and remember that you can set Ubuntu partitions manually. Good Luck.

Last edited by thorkelljarl; 09-03-2010 at 06:34 AM.
 
Old 09-01-2010, 11:08 PM   #25
crashhh
LQ Newbie
 
Registered: Aug 2010
Location: ph
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
Yep, I'll keep that in mind. Thanks again.
 
  


Reply

Tags
boot, dual, partition, ubuntu, xp



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
Can I see linux partitions under Winxp Neoxeekhrobe Linux - Software 6 10-01-2005 02:50 PM
WinXP & Suse 9.3 Partitions panka Linux - Newbie 3 05-19-2005 03:44 PM
Resize Suse/winXP partitions lixy Linux - General 3 12-28-2004 07:52 AM
WinXP fat32 partitions on RedHat8 ni_knight Linux - General 2 01-17-2003 07:23 AM
Acessing Linux Partitions from WInXP aaronluke Linux - Software 2 08-25-2002 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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