LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
 
Search this Thread
Old 03-15-2008, 12:43 AM   #1
tschima
Member
 
Registered: Apr 2006
Location: Wisconsin
Distribution: LinuxMint, knoppix, Solaris
Posts: 109

Rep: Reputation: 15
Partitioning Help to Add PC-BSD to Existing Windows XP Pro


I want to install PC-BSD 1.5 on my laptop. gparted under Knoppix reports my partitions as follows:

/dev/sda1 75 GB Primary (Windows Vista HP)
/dev/sda2 20 GB Ext. (Windows XP Pro)
/dev/sda5 55 GB Ext. (data drive)

I wanted to wipe Vista off, since it's useless anyway. Gparted will shrink sda1, but will not allow me to subsequently move sda2 closer to sda1. So I cannot grow sda2. Nor can I grow sda5. (I wanted to shave 25 GB from sda1 and put 5 on sda2 and 20 on sda5.

I installed Vista after installing XP. When I boot Vista, it obviously shows up as C:, and sda2 is D:, and sda5 is E:. When I boot XP, it also shows up as C:, but then sda5 becomes D:, and sda1 becomes F:. In a table, it looks like this:

Boot Vista Boot XP
/sda1 = C: F:
/sda2 = D: C:
/sda5 = E: D:

Here's my questions:
1. Is there a way to use gparted or something else to resize so I can get more space for my data? Or will I have to wipe everything and re-partition from the start? And..
2. Will I have to first reinstall XP and then install PC-BSD (so I can use its boot loader)? When I tried installing something over Vista, I could no longer boot XP, and had to restore the whole hdd via Knoppix, the dd command, and an external hdd. Thanks.

Terry
 
Old 03-17-2008, 09:28 AM   #2
dr_agon
Member
 
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu 8.04
Posts: 90
Blog Entries: 12

Rep: Reputation: 25
Hi,

You write that /dev/sda2 is in the extended partition.
Maybe you tried to move sda2 partition and forgot to move the entire extended partition before? GParted should do fine with it.

Usually linux boot loaders recognize existing systems like Windows correctly, so you install them after Windows. When you had two Windowses - only one partition was active (bootable) so the boot loader probably discovered only one system. But you can manually add more systems to boot. I use GRUB boot loader, see its man.
In your case, I would make the XP bootable without Vista, and then install whatever you want.

The interesting thing is why one extended partition is named /dev/sda2 and other sda5? Or maybe sda2 is primary?

good luck
dr_agon
 
Old 03-18-2008, 09:17 AM   #3
tschima
Member
 
Registered: Apr 2006
Location: Wisconsin
Distribution: LinuxMint, knoppix, Solaris
Posts: 109

Original Poster
Rep: Reputation: 15
Partitioning Help to Add PC-BSD to Existing Windows XP Pro

Oops, that is interesting why /sda2 is primary and /sda5 is the next numbered partition. It was actually a slip by me. /sda2 & /sda5 are both extended. Thanks for your help. I would have never thought to move the entire extended part.
 
  


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
how to add existing files to existing imported kdevelop project?? santana Programming 1 05-22-2007 09:53 AM
PARTITIONING an existing ext3 / Running two Redhat distributions addisono Linux - Software 1 10-24-2005 05:48 PM
Partitioning help - Win2k + Solaris(or BSD) + 1-2 Linuxes: Need help sidewalking Linux - Newbie 3 07-06-2005 08:49 PM
Problems Partitioning XP Pro to install Suse 9.1 Pro spcmiller Linux - Newbie 1 07-27-2004 11:08 PM
Partitioning existing hard drive NickC Linux - Hardware 4 12-09-2003 04:44 AM


All times are GMT -5. The time now is 07:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration