Install 3 Versions Of Linux On Same Hard Disk

Hi,

I am new to the installation of Linux, and wish to install 3 different distro's on the same hard disk.

I have installed Centos 7 successfully as follows :

The /boot is /dev/sda2

/dev/sda1 is listed as unknown so i assume it is the Master Boot Record with Grub installed. I do obtain the option to boot to the various kernels after updating the OS.

/dev/sda3 is a Linux LVM with the various partitions i required.

When i installed the CentOS 7 the installer stated an error about the bootable partition - which was effectively /boot, so i moved this to /dev/sda2.

What i am not sure about is that if i want to install 2 other Linux OS's will i run out of /dev/sdaX assignments ?.

I read somewhere that there are 4 maximum that can be used a /boot (SDA1, SDA2, SDA3, SDA4), so does this mean i can only install one other OS ?.

Any guidance gratefully received. Thanks.

Regards,

Richard.


Similar Content



GRUB2 Not Seeing Old Distro When New Distro Is Installed

I have an old debian distro installed on hard disk. The distro is on sda1 partition. I also have Win7 on a seperate hard disk which is on sdb1.
When I boot up, GRUB bootloader opens up and gives me the option to select either OS.

So I recently installed a new debian distro and put into my sda2 partition.
But now when I boot up, GRUB only sees the new distro in sda2 and I can't access the distro in sda1 or Win7 in sdb1.

On one thread someone said mounting the partitions and then using 'update-grub' will resolve the problem.
I tried it and re-booted, but GRUB still only offers the newly installed distro in sda2.

Can someone help please?

Grub Directory Has Disappeared - Can't Reinstall Grub

I have tried installing a Ubuntu OS onto a partition (sda3).
When I had difficulties with the install, I decided to delete everything from the partition.

But now when I boot the computer, I get taken to the 'grub rescue' prompt.
I have tried to find grub in my other partitions (sda1 and sda2).
However, the command 'ls (hd0,msdos1)/' for example, does not show a grub directory.
It must've transferred grub to sda3 somehow and now I've deleted it.

I have debian live USB and am trying to install grub with:
Code:
apt-get install-grub /dev/sda

But I get the error message:
Code:
bash: grub-install: command not found

So now I don't know what's going on. Can anyone please help?

Centos 6 Grub Issue

Machine is booted into Grub Menu
I am using rescue linux

by doing fdisk -l

it shows
Disk /dev/sda : bla bla bla
Device Boot
/dev/sda1 *

so i install grub using this command in shell

grub-install /dev/sda1

it shows

installation finished. No error reported
This content of the device map /boot/grub/device.map


After re-boot it again shows grub menu

Recovering After Windows 7 Install: Rescue Cannot Mount Root

I have a dual boot laptop with debian stable & Windows 7.

The HD partitions a
sda1: NTFS for W7
sda2: FAT32 (currently unused)
sda3: linux /boot
sda4: linux ext4, which is LVM with encryption

I've re-installed W7 and now need to recover the MBR & grub menu.

I've booted with the netinst usb in rescue mode, but it fails to mount the root partition /sda4:
"An error occured while mounting the device you entered for your root file system (/dev/sda4) on /target"

and /var/syslog shows:
Code:
rescue-mode: selected root device '/dev/sda4'
umount: cant umount /target: Invalid argument
isofs_fill_super: bread failed, dev=sda4, iso_blknum=16, block=32
EXT2-fs (sda4): error: unable to readsuperblock
EXT3-fs (sda4): error: unable to readsuperblock
rescue: mount: mounting /dev/sda4 on /target failed: Invalid argument

So it seems like something is wrong with the mount command?

Would appreciate suggestions how to solve this.

Thanks

Dual Boot Centos7 And Kali

I had Kali and Linux Mint installed and erased Mint to install Centos7. Grub was totally deleted and I could only boot into grub recovery. Many hours of cussing later I got Kali back, I can see Centos filesystem mounted on my desktop and in disk utility. I never finished setting Centos up as I was rushed out the door which probably caused the problem in the first place, for some reason it's raid and although it's 2 harddrives they are not set up for raid and 1 is Kali and 1 is Centos. The Centos boot folder is still empty after running grub-install on it twice and it does not show in grub. How do I get Centos as an option?

How To Distro Hop With UEFI

I have a new PC and it's my first with a UEFI motherboard. I've been using Manjaro on it for a few weeks but now I want to switch distros. Before UEFI it was easy; I'd just tell the new distro's installer to overwrite / and use the existing /home as /home. But now I have these extra partitions that Manjaro created regarding UEFI and I'm not sure how to go about it.

I just used the Linux Mint USB live disc and launched the installer. The partitioning tool showed me /bios and /EFI in addition to the other partitions that are more familiar to me, like /boot, /, /home and /swap. It would not let me alter the /bios and /EFI partitions.

In order to preserve /home. what should I tell the Mint installer to do? Should I just overwrite /boot and / as I've always done? Will it work like that on a UEFI system? Many thanks in advance for all advice.

Output of fdisk -l:

Quote:
Device Start End Sectors Size Type
/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 210943 204800 100M EFI System
/dev/sda3 210944 735231 524288 256M Linux filesystem (this is /boot)
/dev/sda4 735232 62175231 61440000 29.3G Linux filesystem (this is /)
/dev/sda5 62175232 1938952191 1876776960 894.9G Linux filesystem (this is /home)
/dev/sda6 1938952192 1953521663 14569472 7G Linux swap

Grub-pc Package Failed To Install On Dual Boot Windows 7 And Pinguy OS

After creating a bootable usb using Universal USB Installer. I booted up the sytstem (Dell Inspiron N4110) F12 boot on usb, did the install, everything went well until after copying files and then the error message that "The grub-pc package failed to install into /target.. So i continued without a boot loader and now am trying to figure out how to get it back.
Previously i did a perfect dual boot of Kali Linux wherein the Grub boot loader was present. I did however uninstall Kali, reclaim HDD space, and even use EasyBCD to remove Grub(i believe).
Also worth noting is that before this dual boot with pignuy and after uninstalling kali linux i did a complete reinstallation of my windows 7 system using the recovery HD.

Now i would like to know how i could get grub boot loader back onto my system so that i can boot up Pinguy OS. Thanks

Something's Wrong With GRUB

Ubuntu 12.04

I installed updates, which included a new kernel. I went to remove one of the older kernels and got:

Code:
jnojr@DEV:~$ sudo apt-get purge linux-image-3.13.0-46-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.13.0-46-generic gir1.2-ubuntuoneui-3.0 wireless-regdb iw
  linux-headers-3.13.0-46 crda linux-headers-3.5.0-23-generic lesstif2
  linux-headers-3.5.0-23 libubuntuoneui-3.0-1 thunderbird-globalmenu
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  linux-image-3.13.0-46-generic*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 197 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 340656 files and directories currently installed.)
Removing linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
update-initramfs: Deleting /boot/initrd.img-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found linux image: /boot/vmlinuz-3.13.0-51-generic
Found initrd image: /boot/initrd.img-3.13.0-51-generic
Found linux image: /boot/vmlinuz-3.13.0-49-generic
Found initrd image: /boot/initrd.img-3.13.0-49-generic
Found linux image: /boot/vmlinuz-3.13.0-48-generic
Found initrd image: /boot/initrd.img-3.13.0-48-generic
Found Windows Vista (loader) on /dev/sda1
Found CentOS release 6.6 (Final) on /dev/sdb1
Found memtest86+ image: /boot/memtest86+.bin
error: syntax error.
error: Incorrect command.
error: syntax error.
error: Incorrect command.
error: syntax error.
error: line no: 146
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done
Purging configuration files for linux-image-3.13.0-46-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-46-generic /boot/vmlinuz-3.13.0-46-generic

I have no idea how I'd "ensure there are no errors" in the /etc/grub related files... I have no idea what's supposed to be there. Looking at the line it's complaining about in /boot/grub/grub.cfg.new doesn't tell me anything. How do i find out what it's unhappy about?

Live DVD - Grub Install Issue

Hello all,

I am new to linux but not new to PC's.

I am self taught in everything i know so far.

I have an issue i am looking for some guidance on, i have burned an ISO copy of AVLinux & booted from the Live DVD.

chose to install on partition & created all the necessary file systems etc with GParted then proceeded with the install.

Completed install but when i try to boot no joy.

I have EasyBCD installed on Vista to manage to boot processes.

I am able to get to Grub4dos window & grub> prompt.

I have tried many commands of which i have identifeid the partition is there as correct filesystem, when running the /vmlin....TAB command it locates the name of the linux distro, if i set the drive partition to makeactive it boots up saying no operating system them have to change it back to Vista.

I have two pics that show the grub configuration reading from the live DVD, the install appears to have some missing or not right as opposed to the DVD, can anyone assisst how i can fix this issue?

Do i have to copy each file over manually from the Live DVD's folders?

Cant attach images here so here is the differeneces,

these are the listing on the Grub configuartion being read using the Live DVD,

1. /etc/grub.d
2. /boot/grub/device.map
3. grub-install
4. grub-mkconfig
5. grub-mkdevicemap--device
6. grub-mkfont
7. /boot/grub
8. /boot/grub/grub.cfg
9. /etc/default/grub

Here is what way they are on Live DVD,

1. Present
2. Present
3. Present
4. Present
5. Present
6. Present
7. Present
8. Yellow information bubble
9. Present

My install on partition,

1. Present
2. Yellow information bubble
3. Red X bubble
4. Red X bubble
5. Yellow information bubble
6. Present
7. Yellow information bubble
8. Yellow information bubble
9. Present

what do i need to do to remedy this?

i have attempted the install on couple of different drives, no success.

Need Help Uninstalling Mint 17.1 To Do A Clean Installation Dual Boot With Win 8.1

Hello All. This is my first post here. I am worse than a newbie; I'm a PC dinosaur! Not joking either.
Recently got a Dell Inspiron 3048 with Windows 8.1 pre installed. As I am a die hard XP user (my other PC is a Dell Dimension 2400), and seeing that PC's days may be numbered, I want to start using Linux, and decided Mint 17.1 would be first on the list.
Ordered a Linux Mint 17.1 boot disk and went to install it. At the option for a dual boot with Windows, I got lost, and did not understand the "other" choice versus making Linux the only OS on the PC. I wound up wiping my HDD and lost contact with Windows 8.1. Fortunately, the Dell Tech I got at Dell Support was able to walk me through getting Windows back up, but the only way I can now access Mint 17.1 is with the boot disk, but there is no set up options as it is already set up, even though incorrectly for a dual boot.
How do I wipe out Linux without losing Windows 8.1 as well so I can re install Linux and this time make the correct selection for a dual boot?
Anyone willing to respond please do so small and slow so I can follow.
TIA.
BTW, I have tried installing Zorin OS 9 Ultimate on my XP machine via DVD and USB, but I can't get past the f1/f2 loop, even though I have reconfigured my boot sequence according to the drive I'm installing from. Zorin support has been MIA on this. Anyone having a similar problem?
Cheers