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?


Similar Content



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.

Update Grub Command Not Working

I have made a change to GRUB2 bootloader in etc/default/grub.
Now I need to run 'update grub' for the change to take effect.
However, the 'update grub' command on the terminal is giving this error message:
Code:
root@debian:/# update grub
bash: update: command not found

Can someone please explain why this command is no longer working?

I've had to make a change to grub because I tried to install a new distro which meant I had to alter grub.
The install wasn't successful so I deleted the grub file and then re-installed it.
The re-installed grub needs a change so I can get sound on my pc.
However, I can't add these changes because the 'update grub' command doesn't work.

I've checked the grub file with another debian distro and they are both the same.
So now I don't know if I need to check if a different grub file is the problem or anything else.
Can someone help?

An Open Question

Hey,

When you have decided to multi-boot several distros and have space to do so. Is there a preferred sequential order for those distros?

Let me see if I can make it even more confusing. I presently have two Linux distros on my PC, PClinuxOS and Manjaro 0.8.12 XFCE. My PCLOS was installed first then came Manjaro.

If I am able to install a third distro would I do it from when I am using Manjaro, or would it be better sequentially to do when I am using PCLinuxOS? Or does it not make a hill of Garbanzos which distro I happen to be using at the time of the third installation?

How does 'GRUB' feature in to this equation?

The Grub screen (I think it's called) shows 'Manjaro' at the top, then Manjaro Advanced. Then below it is, PCLinuxOS followed by PCLinuxOS Advanced. Last is the MEMTest.

Would this hypothetical third distro and there is no problem with installation or with 'GRUB', appear at the top of the list when booting into it?

"XXX.distro
XXX.distro advanced
manjaro
manjaro adcanced
pclos
pclos advanced
MemTest"

Just for elucidation the third Linux distro I am considering adding is; Ubuntu 15.04 Mate Edition.

Thanking All in Advance.

herakles_14

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?

Problem Installing Radeon Driver Packages With Second Debian Install

I have a debian OS on a partition on my hard disk (sda1).
There was no sound because the ati rs880/radeon 4200 sound card needed drivers which were only in the debian 'non-free' version'.
So I added the non-free version to my install and also had to make a change to the GRUB bootloader file.
After that, I got sound.

Now I've installed a new debian distro to my second partition - sda2.
This time I ensured I installed the debian non-free version.
But I'm having trouble installing the drivers for the sound card.

I go into Synaptic package manager to install the relevant drivers and it gives me an error message:
Code:
Configuring libfglrx - install Fglrx driver despite unsupported graphics card?

I'm not sure what that means because I want the drivers for my sound card - not graphics.
When I press the 'Help' button, it says:
Code:
This system has a graphics card which is no longer handled by the Fglrx driver...
The above card requires either the non-free legacy Fgrlx driver 
(package fgrlx-legacy-driver) or the free Radeon driver (package xserver-xorg-video-radeon).

This is fine because I can just install the 'free Radeon driver'.

But the Help message then says:
Code:
Before the Radeon driver can be used you must remove Fglrx configuration from xorg.conf 
(and xorg.conf.d/)
Note that switching to the free Radeon driver requires the fglrx-driver package to be purged (not just removed).

So now I don't know what to do. Has anyone had this error message?
I know I can enable sound and have no problems with the graphics card because that's what happened with my original install on sda1.

But with the install on sda2, I don't know how to approach this problem.
Can anyone help please?

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.

Trying To Install Dual-Boot With AVLinux And Windows XP

I've made a couple attempts at installing these OS's on my machine and am still not getting it. I've actually been using AVLinux for about the past nine months, and it's working fairly well. And, yes, I know XP is down for the count, but for the moment it's the only MS option available to me - and I *need* to get it running for some work related web stuff...

This is all on a 32 bit AMD system btw.

What I've tried: Everything on one SATA drive. Partition one formatted to NTFS (about 20GB) for XP. Partitions 2 and 3 are Root and Home for AVLinux, Partition 4 at the end of the drive as the /swap for AVL.

All the how-to's and guides I've been able to come across point to (usually) Mint or Ubuntu's install dialog, and to select "something else" - which, by the way, is not a function of AVLinux's installation procedure. During install you can install GRUB to the MBR *or* root partition..

So, just to clarify to procedure (as I might have it now, but am very unsure) XP gets installed first (which is done at this point...) then my Linux distro *to the MBR* (?) then I need to add a stanza to GRUB telling it where XP lives? XP is not showing up on GRUB as I'm doing it, but I'm not too sure if installing Linux to the MBR (on the same physical drive as XP) actually wipes out the Windows bootloader....and if so, how chainloading would actually work...

So, any help appreciated, thanks.

GRUB Can`t See My Second Xubuntu Partition

Hello, i hope i created this thread in good place

I have 2 linux Xubuntu 14.04 partitions
GRUB shows only one partition, i cannot switch user to the second partition too, but file manager sees it right.

In GParted it looks like this:
 http://s23.postimg.org/igpp2j1jf/Scr...5_19_08_53.png

the bigger dev/sda/1 partition is my old one which i want to boot with GRUB and use it

and /dev/sda/6 is new which i need to remove

But i cannot do this because GRUB doesn`t see /dev/sda/1, so what can i do?

My GRUB version is 2.02~beta2-9ubuntu1, i tried to update it with sudo update-grub but no effects.

Thanks for your effort

Uninstal Distro To Make Space

Hi guys, I have 2 distros on my computer and I want to get rid of one and instal another in its place. My basic Ubuntu is amazing so I want to leave that I. Place but the music distro I have installed is not to my liking . I would like to install amother in its place. What do I have to do to create the space for a new distro?

Wireless Mouse And Wireless Keyboard Is Not Working In Linux Distro's

Wireless mouse and wireless keyboard is not working in Linux distro's.

Read the similar threads on this issue. Boot mode is set for UEFI and Legacy therefore not sure what to do to enable mouse and keyboard? The mouse and keyboard use the same 'receiver' and the receiver indicator is green when Linux distro is fully loaded. Have tried various distro's, Ubuntu, and Ubuntu based distro's using LIVE DVD method on all. Latest distro tried is Peach 14.04.1 TW.40 64 bit. Motherboard is a Gigabyte GA-990FXA-UD3, CPU AMD FX6300 3.5 Ghz six core.

Thanks for any assistance.

jmwrocky