LinuxQuestions.org
Help answer threads with 0 replies.
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 03-24-2015, 12:01 AM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Rep: Reputation: 40
Dual boot: do i need to shrink partition


Gents,
last time i installed windows was some silly years ago. So i'm at loss now.

Trying to add XP on RH6.5 system to dual boot.

One of the immediate problems/concerns is that Windows Installer wants to write something at the beginning of the boot disk (/dev/sda), BUT :
a. /dev/sda is fully partitioned for Linux
b. /dev/sda is under lvm control.
I gave XP 72GB on /dev/sdd2 extended partition.

Question how to add windows without ruining normal OS?

Details:
Code:
[root@server ~]# pvs
  PV         VG         Fmt  Attr PSize   PFree
  /dev/sda1  VG_Storage lvm2 a--  465.67g    0 
  /dev/sda5  VG_Storage lvm2 a--  465.67g    0 
  /dev/sda6  VG_Storage lvm2 a--  465.93g    0 
  /dev/sdb2  vg_server  lvm2 a--  148.56g 1.00m
  /dev/sdc1  VG_Oracle  lvm2 a--   74.53g    0 
  /dev/sdc2  VG_backup  lvm2 a--   74.52g 1.48g
  /dev/sdd1  VG_Oracle  lvm2 a--   74.53g    0 
  /dev/sdd3  VG_backup  lvm2 a--   83.83g    0 
[root@server ~]# fdisk -l /dev/sda

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
<skip>
Disk identifier: 0x1af11af1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       60789   488287611   83  Linux
/dev/sda2           60790      182401   976848390    5  Extended
/dev/sda5           60790      121578   488287611   83  Linux
/dev/sda6          121579      182401   488560716   83  Linux



fdisk -l /dev/sdd

Disk /dev/sdd: 250.1 GB, 250059350016 bytes
<skip>
Disk identifier: 0x00073bcf

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1        9729    78148161   83  Linux
/dev/sdd2            9730       19457    78140160    7  HPFS/NTFS
/dev/sdd3           19458       30401    87907680   83  Linux

Last edited by DBabo; 03-24-2015 at 12:03 AM.
 
Old 03-24-2015, 12:15 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Windows XP needs a primary partition on a primary disk. So you can try disabling other disks and install Windows XP. After words you enable other disks and setup grub to map the disks.
 
1 members found this post helpful.
Old 03-24-2015, 04:17 AM   #3
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
It's preferable to install Windows BEFORE installing a Linux distribution if that's possible, as it's likely to screw up the Linux install. It;'s also a whole lot easier doing it that way round.


Play Bonny!

 
Old 03-24-2015, 07:32 AM   #4
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by veerain View Post
Windows XP needs a primary partition on a primary disk. So you can try disabling other disks and install Windows XP. After words you enable other disks and setup grub to map the disks.
Thats a good solution. I should have thought of it myself.will try tonight and report.
 
Old 03-24-2015, 08:17 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
The "something" windows wants to write to the beginning of the drive would be the boot files. You could install xp on a logical partition IF you had a primary on which to put the boot files. I had a system years ago with W98 on a primary then installed W2K and found that it put its boot files on the W98 partition but the system files on a logical so this has been the way with microsoft for quite some time if not forever.

Also, emphasize the primary disk. I downloaded the windows 10 tech preview and tried to install and got the message "windows setup does
not support configuration or installation to a disk connected through usb or IEEE 1394 ports". That surprised me but, like yourself, it's been many years since I installed windows.
 
  


Reply

Tags
dual boot



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
Fedora 20 - Expand /home partition and shrink Win8 partition lolzies Linux - Hardware 1 07-12-2014 10:40 AM
In dual boot partition cant boot into linux after formatting the windows partition. SarahGurung Linux - General 9 08-27-2013 08:06 AM
rEFIt problem, cannot boot linux after using gparted to shrink non-OS partition jeberd Linux - Software 6 01-29-2009 01:51 AM
Dual Boot Setup - Booting Vista Changes Linux Boot Partition Type to Amoeba Chewie71 Linux - General 1 05-03-2007 02:43 PM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 01:29 PM

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

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