Author Topic: Creating a multiboot system  (Read 9928 times)

0 Members and 1 Guest are viewing this topic.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating a multiboot system
« Reply #135 on: November 01, 2013, 07:33:00 pm »
Quote
As it's going to be a mix of OS'es will there be any complications at boot?

Plenty, if your XP target disk is not the first disk and first partition on that. :)

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1620
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Creating a multiboot system
« Reply #136 on: November 01, 2013, 07:41:11 pm »
What do I need to do so that it will work without any problems (hopefully)

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-68-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating a multiboot system
« Reply #137 on: November 01, 2013, 07:47:09 pm »
Quote
What do I need to do so that it will work without any problems (hopefully)
That depends on your partition layouts.
Firs list all partitions:
Code: [Select]
sudo fdisk -l
Highlight the partition you intend to use for XP
Once you give that info then we can look at how to minimise the disruption to your system. 

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1620
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Creating a multiboot system
« Reply #138 on: November 01, 2013, 08:00:34 pm »
pooky2483@pooky2483-ubuntu12:~$ sudo fdisk -l
[sudo] password for pooky2483:

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 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: 0x00044d2a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   484474879   242236416   83  Linux
/dev/sda2       484474880   490233855     2879488   82  Linux swap / Solaris

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 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: 0x0009b408

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63  3907024064  1953512001   83  Linux

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000e97af

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048   314574847   157286400   83  Linux
/dev/sdc2       314574848   331352063     8388608   82  Linux swap / Solaris
/dev/sdc3       331352064   976773119   322710528    5  Extended
/dev/sdc5       331354112   645926911   157286400   83  Linux
/dev/sdc6       645928960   960501759   157286400   83  Linux

Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x000b090e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1              63   488392064   244196001   83  Linux
Note: sector size is 4096 (not 512)

Disk /dev/sde: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xa0ee6df5

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1             256   732566271  2930264064    7  HPFS/NTFS/exFAT
Note: sector size is 4096 (not 512)

Disk /dev/sdf: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000104b7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1             256   732566271  2930264064    7  HPFS/NTFS/exFAT
pooky2483@pooky2483-ubuntu12:~$

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-68-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1620
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Get your FREE Ubuntu stickers here. I'm the UK address
    • Awards
Re: Creating a multiboot system
« Reply #139 on: November 01, 2013, 08:09:20 pm »
I think it's that one, how do I get what I called each partition so I can be certain, I can't remember the command ATM!

[EDIT]
Found it
pooky2483@pooky2483-ubuntu12:~$ gksudo kate /etc/fstab
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
pooky2483@pooky2483-ubuntu12:~$ sudo blkid
/dev/sda1: LABEL="12.04Boot" UUID="86fe3809-17a6-412c-be0a-250f6f29fa41" TYPE="ext4"
/dev/sda2: UUID="03b9f227-9f5c-4abc-a50b-74ecc1590f44" TYPE="swap"
/dev/sdb1: LABEL="Drive3" UUID="1e72a175-851f-43c3-a251-241d0e3800a7" TYPE="ext4"
/dev/sdc1: LABEL="Ubuntu 12.04TLS" UUID="201d2f3e-f865-4912-b852-99b5b24f3457" TYPE="ext4"
/dev/sdc2: UUID="718377f7-8759-44ad-888d-e0fb3f91c5e4" TYPE="swap"
/dev/sdc5: LABEL="Ubuntu 12.04LTS" UUID="bcb8b27e-dd9e-4c09-a259-48cf4f937c9e" TYPE="ext4"
/dev/sdc6: LABEL="Manjaro" UUID="954eee59-c8c3-465e-adb6-892a44e673be" TYPE="ext4"
/dev/sdd1: LABEL="Drive1" UUID="d5e1db61-b980-4624-801c-e0546b288b8f" TYPE="ext4"
/dev/sde1: LABEL="EXT-01" UUID="9472C6BD72C6A37A" TYPE="ntfs"
/dev/sdf1: LABEL="EXT-02" UUID="3E9E5F1B0F3E4B8D" TYPE="ntfs"
pooky2483@pooky2483-ubuntu12:~$
« Last Edit: November 01, 2013, 08:30:58 pm by pooky2483 »

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-68-generic|M3A76-CM|BIOS 2101|AMD PhenomII X4 965 3400+|Realtek RTL8168C(P)|8111C(P) PCI-E Gigabit Ethernet NIC|NVIDIA 128MB GeForce6200 Turbocache|8.0GB Single-Channel DDR2|

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating a multiboot system
« Reply #140 on: November 01, 2013, 10:07:14 pm »
OK, that will not be easy.
If I understand you right then you want to replace Manjaro with XP. on /dev/sdc6
If so, then I would suggest this using Gparted (back up everything first):
a) Delete partition /dev/sdc6
b) Resize the extended partition (to suit /dev/sdc5) then move it to the end
c) Move all preceding partitions towards the end (one by one)
d) Create a new PRIMARY partition in the free space at the beginning of the drive
e) Make sure the just created partition is formatted NTFS
f) Remove all HDDs (label each in turn to make sure that they will be reinstated into correct order later)
g) Plug the designated HDD (for XP) into the first slot.
h) Install XP to first partition (and check it will boot OK)
i) Reinstate all HDDs into their correct locations
j) Boot to Kubuntu (/dev/sda1) update grub (this should detect the XP partition)
k) Make sure you can boot to each OS

Obviously this is just my suggestion, others might come up with other method/sequence
« Last Edit: November 01, 2013, 10:43:12 pm by SeZo »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13999
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #141 on: November 01, 2013, 10:32:18 pm »
sdc6 resides in an extended partition .. so at some point he'd also need to resize the extended partition .. or there' be no room to move the others into ;)

Windows MUST be on a primary partition .. I'm not 100% sure it needs to be the first partition on the drive .. I know some people say it must, but you can have multiple versions of Windows dual booting can't you ?

Or do the boot files need to be in the first partition ?
« Last Edit: November 01, 2013, 10:34:49 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1524
  • Karma: 120
  • Gender: Male
    • View Profile
    • Awards
Re: Creating a multiboot system
« Reply #142 on: November 01, 2013, 10:39:18 pm »
Quote
sdc6 resides in an extended partition .. so at some point he/d also need to resize the extended partition .. or there' be no room to move the others into

Hmm.. Thanks for pointing that out, I thought that was obvious, but will correct it anyway.
As for installing XP on non first partition, I dunno. (one way to find out).

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13999
  • Karma: 348
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #143 on: November 01, 2013, 10:52:44 pm »
True :)
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal