LinuxQuestions.org
Help answer threads with 0 replies.
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 06-28-2013, 02:45 PM   #1
Yobled
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Rep: Reputation: Disabled
Advice on dual booting


I have decided I would like to try a dual boot system on my old Dell Inspiron 6400 laptop, it has Windows XP installed and I want to run Peppermint4 alongside this, I have a live cd of Peppermint 4 and 40 GB of free space on HDD what is the next step?
 
Old 06-28-2013, 02:53 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
do a google search for any of the 10+ year old XP dual boot guides

i would use the "dd" method and add the "linux.bin" made by that to the XP "boot.ini"

PS most of the xp guides use a 3.5 in floppy
that is not needed all major linux distros have been able to write to the windows NTFS drives for over 5 years

Last edited by John VV; 06-28-2013 at 02:55 PM.
 
Old 06-29-2013, 05:51 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,433
Blog Entries: 6

Rep: Reputation: Disabled
Hi: Yobled

Before you install Peppermint on your laptop you will need to shrink your Windows XP partition.
I think the application for doing that is called Partition Magic.

http://www.disk-partition.com/resour...partition.html
http://www.ehow.com/how_5124581_shri...partition.html

Ensure that you have the right version of Peppermint.
Some distribution are available for 32-bit and 64-bit system architecture's:-

Reading the Peppermint documentation can put you at ease before you proceed with the installation process. In some ways reading the documentation will not only prepare you but you will be able to antisapate ahead of time what to expect-

http://en.wikipedia.org/wiki/Peppermint_Linux_OS
http://peppermintos.com/2013/06/intr...ppermint-four/
http://www.youtube.com/watch?v=iV4uzsaRW1Y

HTH Good Luck-
 
Old 06-29-2013, 08:12 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Disable the paging file and defragment XP before resizing.
1: Right click My Computer => Properties => Advanced => Performance: Settings => Advanced => Virtual memory: Change => check No paging file => click Set => OK => OK => OK

2: Reboot.

3: Defragment
 
1 members found this post helpful.
Old 06-29-2013, 01:29 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
why this ?
Quote:
Right click My Computer => Properties => Advanced => Performance: Settings => Advanced => Virtual memory: Change => check No paging file
why turn off the swap on an old laptop
it is likely to have only 512 meg of ram ( maybe a gig)


use the built in tools to "clean" the drive

( on the "my computer" C:\\ drive menu)
defragment
re run the defrag

resize the partitions
( reinstall "XP service pack 3" if needed- the ONLY version still supported , for one more year)

install Linux

use "dd" and the install dvd in"rescue mode" to put the "linux.bin" on the C:\\ drive
use gedit,kate,nano,vi,... to edit the windows boot.ini

Last edited by John VV; 06-29-2013 at 01:33 PM.
 
Old 06-29-2013, 01:50 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
why this ?


why turn off the swap on an old laptop
Only temporarily, to make sure it doesn't interfere with resizing.
 
Old 07-07-2013, 08:22 AM   #7
Yobled
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, an update, for some reason my system already had 4 primary partitions on the HDD, so after some thought I went for the idea of removing the Dell PC Restore, only to find that I wasn't able to do this by following Dells instructions as there was an unsupported partition next to it. Looks like I am left with gparted and deleting etc from there but I gather there is a chance I won't get XP to boot again after.
 
Old 07-07-2013, 08:57 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
You might post an image of your gparted output or run the command: sudo fdisk -l(Lower case Letter L in the command) from the Peppermint disk and post it here. Are these all ntfs/windows partitions? I wouldn't expect xp to have that many so if they are data partitions you might back the data up before making any changes.
 
Old 07-07-2013, 09:45 AM   #9
Yobled
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks yancek wil post output later.
 
Old 07-08-2013, 09:01 AM   #10
Yobled
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
This is the output from the Lie Peppermint 4 disc:

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe686f016

Device Boot Start End Blocks Id System
/dev/sda1 63 176714 88326 de Dell Utility
/dev/sda2 * 176715 220492124 110157705 7 HPFS/NTFS/exFAT
/dev/sda3 220508190 224701154 2096482+ f W95 Ext'd (LBA)
/dev/sda4 224701155 234436544 4867695 db CP/M / CTOS / ...
/dev/sda5 220508253 224701154 2096451 dd Unknown
peppermint@peppermint ~ $
Your comments would be appreciated
 
Old 07-08-2013, 04:52 PM   #11
Yobled
LQ Newbie
 
Registered: Jun 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
I would be obliged if someone could advise me which is/are the Windows partition(s).
 
Old 07-08-2013, 05:05 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
Quote:
I would be obliged if someone could advise me which is/are the Windows partition(s).
You do not know where you installed windows to ?

you might want to read up on setting up partitions
I would start with the documentation on the software you used to partition the drive

Quote:
/dev/sda1 63 176714 88326 de Dell Utility
that is the hidden win7 recovery partition

Quote:
/dev/sda2 * 176715 220492124 110157705 7 HPFS/NTFS/exFAT
this is a Microsoft windows NTFS or new Microsoft exFAT partition
 
Old 07-08-2013, 08:23 PM   #13
selfprogrammed
Member
 
Registered: Jan 2010
Location: Minnesota, USA
Distribution: Slackware 13.37
Posts: 290

Rep: Reputation: 55
I have an XP with 9 partitions, with Slackware Linux 2.6.
I set it up with this procedure.

* Make sure you can boot an install Linux install CD. You will have to do this repeatedly
to use the Linux tools.

* Backup your windows data to some place off the system.
* Make sure you can reinstall any programs that you have added.
* Backup your windows checkpoint directory, these can be copied elsewhere and restored later. It is the best way to save registry information. If you have really old ones, they can be deleted to recover the space.

* DeFrag the window partition that is in daily use. Any new partitions will be taken from this space. Carefully examine how much of the partition is actually in use. The smallest this partition can be is this size plus about 20%.

* If you need more room for Linux then Delete stuff and DeFrag again. Or just buy a larger drive. Or install a second drive.

* Do not disturb the other strange partitions. They cannot be recreated as they are proprietary to the manufacturer. They are needed to reinstall special windows support for the hardware. You would not need to keep this if you could get an installation CD.
These can be copied by disk clone to another drive. The procedure for booting them is manufacturer proprietary, usually in the boot sector and/or BIOS, and thus the copy cannot be used directly. They cannot be moved as the security software very likely checks several things, like partition info, checksum, and unused sectors in the partition, to detect illegal copies. They generally do not check for drive id, so a clone will work.

* If you do not have enough space, get a larger drive and clone the existing drive to it.
The extra space will be a new large partition. Then you can save your old drive as backup.

* With windows fdisk, copy down by hand (to paper) the existing partition table. Copy down all the numbers. You may need to restore any or all of it. Put this copy somewhere safe.

* Do not change the existing partition order, sizes, nor field entries. You only can split the windows main partition (data, the largest) to get space. The procedure to activate a restore partition may depend on its position in the partition table.

* If you must, use GNU Parted (or one of the variations) to split the large windows partition into multiple partitions (described below). Only do this on the DeFrag partition

* With windows fdisk, create an extension partition and put the last existing partition in it. Then you will have 3 main partitions and one extension partition.
This partition must have the same sector start (and other info) as you wrote down.

* With Linux fdisk, create a Linux extension partition. As a Linux extension partition it will be ignored by windows. All the new linux partitions will be in the extension partitions. This will be the space split off from the main windows partition.

* Do a chkdisk on your windows partition. If it fails then you can panic, and investigate how good your backup copies were. You can undo the partitions back to what they were, but one file will have been corrupted by the new extension partition. Nothing else will have been touched yet.

* Create a Linux Swap partition (Swap filesystem).
* Create your Linux Swap partition filesystem.
This will overwrite that portion of the drive.

* Create a Linux data partition (probably ext2, or can use ext3, ext4).
* Create your Linux partition filesystem.
This will overwrite that portion of the drive.

* As part of Linux install, install the boot manager. I use LILO which works fine.
Answer the questions.

* If you forgot to add the Windows partition boot when the question was asked, then do this now. Make sure the settings are correct for windows. For XP it is simple.

* Check that your dual boot works. Use the Linux installation boot disk to adjust LILO (or whatever bootloader you installed) until you get it right.

* If windows will not boot, check that the windows partition is the one and only partition marked as bootable.

* Write down you new partition table (on paper) and put it with the original partition table. Do not lose these as they are useful to restore a corrupted partition table.

* Install Linux to your new linux partition.
 
Old 07-08-2013, 08:41 PM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,872

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
sda3 is an Extended partition which contains one logical partition, sda5 which shows as type:
Quote:
dd Hidden CTOS Memdump?
sda4 shows as type:
Quote:
db Digital Research CP/M, Concurrent CP/M, Concurrent DOS
db CTOS (Convergent Technologies OS -Unisys)
That doesn't look like anything you would expect with xp. CP/M was the most popular operating system on personal/home computers in the 1970's. I'm not sure why that would show in fdisk, unless someone was messing with really old software on this computer. There could be other explanations but I don't know what.

You could probably safely delete sda3 and sda4 but even combining them will only give you about 7GB.
 
Old 07-08-2013, 11:23 PM   #15
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,110
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Thumbs up

Not reading all, so sorry if it's said but Back-Up-1st n read links preferably from another device...
 
  


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
Dual Booting Advice suhasau Linux - Newbie 3 04-11-2008 09:15 AM
Looking for Dual Booting Advice Simcity1984 Linux - General 3 06-06-2006 09:17 AM
ADVICE NEEDED: Best filesystem to use on second HDD when dual-booting? neocookie Linux - General 1 01-13-2005 08:10 AM
Partition Layout advice with dual-booting Elbaron Linux - Newbie 4 05-31-2004 04:55 AM
Dual Booting win2k and other help full advice subservant Linux - General 1 02-11-2003 05:22 AM


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