Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a custom built Intel 64-bit desktop with 3 HDD's.
Voyager Linux is installed to the first HDD, a SSD /dev/sda which I want to replace with Zenwalk.
The second HDD, a WD /dev/sdb is Elementary OS that has Grub installed to the MBR and...
The third HDD, a Hitachi /dev/sdc is Gecko Linux which also has Grub installed to the MBR.
Zenwalk comes with the LILO Bootloader so during the install I plan to tell the installer "NOT" to install LILO.
When I reboot after the fresh install will I still have Grub?
if MBR is installed into /dev/sdb and/or /dev/sdc they will remain intact. You can install Zenwalk onto /dev/sda with or without lilo, but finally you need to boot from /dev/sdb (or /dev/sdc). And obviously you need to update grub to recognize the OS on /dev/sda.
if MBR is installed into /dev/sdb and/or /dev/sdc they will remain intact. You can install Zenwalk onto /dev/sda with or without lilo, but finally you need to boot from /dev/sdb (or /dev/sdc). And obviously you need to update grub to recognize the OS on /dev/sda.
Thanks pan64. I'll boot into the distribution that is on /dev/sdb and update grub that way.
I'll let you know how the install goes in a few days.
Unless you installed grub when you install zenwalk, then you would want to find the partition that has elementary on it.
what you will need to do is find out which partition has /boot/grub/grub.cfg on it. May be able to do it with something like
Unless you installed grub when you install zenwalk, then you would want to find the partition that has elementary on it.
what you will need to do is find out which partition has /boot/grub/grub.cfg on it. May be able to do it with something like
Code:
ls (hd1,2)/boot/grub
I typed 'set' in grub rescue mode and it told me this:
Code:
prefix=(hdo,msdos1)/boot/grub
Now I should be able to set prefix=(hdo,msdos1)/boot/grub than run these next 2 commands to get grub back right?
I typed 'set' in grub rescue mode and it told me this:
Code:
prefix=(hdo,msdos1)/boot/grub
That is where grub bootloader is looking for the /boot/grub files, first drive first partition. If grub files are on the second drive first partion then it would be
Code:
set prefix=(hd1,msdos1)/boot/grub
grub2 counts drives from 0 and partitions from 1b
grub-rescue means that what the prefix is set to doesn't have the grub files needed to continue the loading of grub.
Last edited by colorpurple21859; 07-31-2017 at 09:12 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.