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

0 Members and 1 Guest are viewing this topic.

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #105 on: September 15, 2013, 01:19:18 am »
Now I just need to sort out getting my hard drives to mount @boot...
I've come up with an error while trying to get 'fstab'

pooky2483@pooky2483-ubuntu12:~$ sudo kate /etc/fstab
[sudo] password for pooky2483:
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-pooky2483" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-pooky2483" is owned by uid 1000 instead of uid 0.

(click to show/hide)

Code: [Select]
sudo blkid
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.04LTS" UUID="201d2f3e-f865-4912-b852-99b5b24f3457" TYPE="ext4"
/dev/sdc2: UUID="718377f7-8759-44ad-888d-e0fb3f91c5e4" TYPE="swap"
/dev/sdc5: LABEL="Kubuntu 12.04LTS" UUID="bcb8b27e-dd9e-4c09-a259-48cf4f937c9e" TYPE="ext4"
/dev/sdc6: UUID="954eee59-c8c3-465e-adb6-892a44e673be" TYPE="ext4" LABEL="Manjaro"
/dev/sdd1: LABEL="Drive1" UUID="d5e1db61-b980-4624-801c-e0546b288b8f" TYPE="ext4"
/dev/sde1: LABEL="multisystem" UUID="7363-65C6" TYPE="vfat" Removable USB Stick
/dev/sdf1: LABEL="EXT 01" UUID="9472C6BD72C6A37A" TYPE="ntfs" Removable 3TbHd
/dev/sdg1: LABEL="EXT 02" UUID="73CDB94066F320F1" TYPE="ntfs" Removable 3TbHd
pooky2483@pooky2483-ubuntu12:~$

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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 Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13193
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #106 on: September 15, 2013, 11:10:30 am »
The kate error may be due to running it as sudo rather than kdesu

What are you trying to mount and where.
WARNING: You are logged into reality as 'root'

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

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1421
  • Karma: 118
  • Gender: Male
    • View Profile
    • Awards
Re: Creating a multiboot system
« Reply #107 on: September 15, 2013, 12:09:37 pm »
Check out PySDM also see here
« Last Edit: September 15, 2013, 12:39:52 pm by SeZo »

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #108 on: September 15, 2013, 12:32:20 pm »
'Drive1' & 'Drive3' are mounted OK
The drive that WAS 'Drive2' has now been changed to the multiboot drive (sdc)
sdc1 : Kubuntu 12.04
sdc5 : Ubuntu 12.04
sdc6 : Manjaro (removed because of problem) Will reinstall.

sda : Drive with OLD Ubuntu 12.04 on
sdb : 2Tb Storage (Drive3)
sdc : See above
sdd : 250Gb Storage (Drive1)
sde : 8Gb Removable USB Stick
sdf : 3Tb NTFS Drive (USB) (Not removing)
sde : 3Tb NTFS Drive (USB) (Not removing)

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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: 1421
  • Karma: 118
  • Gender: Male
    • View Profile
    • Awards
Re: Creating a multiboot system
« Reply #109 on: September 15, 2013, 12:47:01 pm »
Throwing in a removable (8gb USB) device could change the drive order if this not present at boot time.
If the 2 USB 3tb drives are always inserted then would not be better to make them internal?
That way udev would auto mount them (like your Drive 1 & 3).

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #110 on: September 15, 2013, 12:52:07 pm »
That's what I want to do... Have the 3Tb's mount @boot...
I can't put them inside the tower, they're external ONLY.

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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 Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13193
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #111 on: September 15, 2013, 02:35:30 pm »
is it just me or this all becoming very confusing ?

I still have no idea what needs mounting at boot and in which OS and where those OS's are

"drive1" and "drive 2", etc. isn't really helpful .. if you say something like

I need /dev/sdXY which is formatted as ext4 mounted /media/mount-dir-name

it would be helpful.

Also, I'm with SeZo, at least as far as the USB stick goes .. you don't want to automount that.

If the external USB HDD's are EVER liable to be disconnected, I wouldn't automount those either .. you only save yourself a single mouse click, but if they're ever removed your whole system may not boot.
WARNING: You are logged into reality as 'root'

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

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #112 on: September 15, 2013, 03:00:59 pm »
Check out post #105 - The relevant info is all there...
I want them mounting for ALL OS's

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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: 1616
  • 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 #113 on: September 15, 2013, 03:16:56 pm »
I'm trying to have a go myself and will post the results before saving/overwriting the fstab file.

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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 Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13193
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #114 on: September 15, 2013, 04:22:33 pm »
Check out post #105 - The relevant info is all there...
I want them mounting for ALL OS's

Erm no it isn't (or I'm having a blind moment) .. I still have no idea what you want mounting, where you want the mountpoints, and what you want the mountpoints to be called
WARNING: You are logged into reality as 'root'

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

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #115 on: September 15, 2013, 07:03:35 pm »
Is THIS any help...
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdb1 during installation
UUID=86fe3809-17a6-412c-be0a-250f6f29fa41 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
# UUID=e56dad6b-358f-4948-b51f-4abce81f50b1 none            swap    sw              0       0
# swap was on /dev/sdb2 during installation
UUID=03b9f227-9f5c-4abc-a50b-74ecc1590f44 none            swap    sw              0       0
# Mounted Drives
# UUID=959cb526-06f8-4d5d-bec2-a6b42f438b07 /media/Drive1 ext4 defaults 0 0
UUID=d5e1db61-b980-4624-801c-e0546b288b8f /media/Drive1 ext4 defaults 0 0
# Old one
# UUID=40d97c21-aec9-48ed-a089-082c41024994 /media/Drive2 ext4 defaults 0 0
# New one
UUID=fece8a70-7f38-4ad2-aaf3-49a69a8fb91e /media/Drive2 ext4 defaults 0 0
UUID=1e72a175-851f-43c3-a251-241d0e3800a7 /media/Drive3 ext4 defaults 0 0
#
# NEW fsidk CONFIG
#
# -> ../../sda1 This is a BOOT OPTION
LABEL="12.04Boot" UUID=86fe3809-17a6-412c-be0a-250f6f29fa41 /               ext4    errors=remount-ro 0       1
# -> ../../sda2
UUID=03b9f227-9f5c-4abc-a50b-74ecc1590f44 none            swap    sw              0       0
# -> ../../sdb1
LABEL="Drive3" UUID=1e72a175-851f-43c3-a251-241d0e3800a7 /media/Drive3 ext4 defaults 0 0
# -> ../../sdc1 This is a BOOT OPTION
LABEL="Ubuntu 12.04LTS" UUID=201d2f3e-f865-4912-b852-99b5b24f3457
# -> ../../sdc2 swap
UUID=718377f7-8759-44ad-888d-e0fb3f91c5e4 none            swap    sw              0       0
# -> ../../sdc5 This is a BOOT OPTION
LABEL="Kubuntu 12.04LTS" UUID=bcb8b27e-dd9e-4c09-a259-48cf4f937c9e
# -> ../../sdc6 This is a BOOT OPTION BUT NOT YET INSTALLED SO IS A BLANK PARTITION
LABEL="Manjaro" UUID=01244934-31e1-4ed9-b961-78b5f04e1f6a
# -> ../../sdd1
"Drive1" UUID=d5e1db61-b980-4624-801c-e0546b288b8f
# -> ../../sdf1
LABEL="EXT 01" UUID=9472C6BD72C6A37A
# -> ../../sdg1
LABEL="EXT 02" 0UUID=73CDB94066F320F1
#
#
#
/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.04LTS" UUID="201d2f3e-f865-4912-b852-99b5b24f3457" TYPE="ext4"
/dev/sdc2: UUID="718377f7-8759-44ad-888d-e0fb3f91c5e4" TYPE="swap"
/dev/sdc5: LABEL="Kubuntu 12.04LTS" UUID="bcb8b27e-dd9e-4c09-a259-48cf4f937c9e" TYPE="ext4"
/dev/sdc6: UUID="954eee59-c8c3-465e-adb6-892a44e673be" TYPE="ext4" LABEL="Manjaro"
/dev/sdd1: LABEL="Drive1" UUID="d5e1db61-b980-4624-801c-e0546b288b8f" TYPE="ext4"
/dev/sde1: LABEL="multisystem" UUID="7363-65C6" TYPE="vfat" Removable USB Stick
/dev/sdf1: LABEL="EXT 01" UUID="9472C6BD72C6A3 7A" TYPE="ntfs" Removable 3TbHd
/dev/sdg1: LABEL="EXT 02" UUID="73CDB94066F320 F1" TYPE="ntfs" Removable 3TbHd
« Last Edit: September 15, 2013, 07:20:57 pm by pooky2483 »

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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 Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13193
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #116 on: September 15, 2013, 07:19:05 pm »
Maybe we've got crossed wires here, but though that info would probably give some of what's needed for the fstab entries, I still don't know -

a) what's not mounting, that you DO want mounted
and
b) where you want the mount points

So, one at a time ..

Tell me what you want mounting (at boot) and where you want it mounted
WARNING: You are logged into reality as 'root'

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

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #117 on: September 15, 2013, 07:35:34 pm »
The only things that are not mounting @boot are the 2 3Tb NTFS Drives EXT 01 & EXT 02

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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 Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 13193
  • Karma: 321
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating a multiboot system
« Reply #118 on: September 15, 2013, 09:51:13 pm »
You're still in the bad habit of using spaces in names .. you need to stop doing that.

Run:
Code: [Select]
sudo mkdir /media/EXT-1
then
Code: [Select]
sudo mkdir /media/EXT-2

make sure you have ntfs-3g installed:
Code: [Select]
sudo apt-get install ntfs-3g

Add these 2 lines to fstab.

Code: [Select]
UUID=9472C6BD72C6A37A  /media/EXT-1  ntfs-3g  defaults,windows_names,locale=en_GB.utf8  0 0
UUID=73CDB94066F320F1  /media/EXT-2  ntfs-3g  defaults,windows_names,locale=en_GB.utf8  0 0

Save fastab, and run:
Code: [Select]
sudo mount /a

any errors, remove those lines before rebooting.

and don't blame me if this stops your PC from booting .. I did say you'd be better off not automounting USB HDD's
WARNING: You are logged into reality as 'root'

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

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 1616
  • 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 #119 on: September 15, 2013, 10:10:13 pm »
Code: [Select]
sudo mkdir /media/EXT-1
Code: [Select]
sudo mkdir /media/EXT-2

Shouldn't that be rename as it creates 2 EMPTY folders!
http://img593.imageshack.us/img593/2817/p384.png



Just wondering the purpose behind it, that's all...

Kubuntu 12.04LTS 64bit|KDE 4.13.2|QT 4.8.6|Linux 3.2.0-61-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|

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal