dual boot without GRUB bootloader?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kansasnoob

Re: dual boot without GRUB bootloader?

Post by kansasnoob »

Look at the last page of this guide:

http://apcmag.com/how_to_dualboot_vista ... _first.htm

In fact the entire guide is a good resource.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Fred

Re: dual boot without GRUB bootloader?

Post by Fred »

userbrackish,

There are lots of ways to dual boot. It might be helpful to understand the boot process a little better. The BIOS is where everything starts. Let me say first that BIOSs are notorious for being buggy. Some are better than others. It really doesn't surprise me that it didn't honor the usb boot preference you chose. Of course there could be other reasons it didn't boot the usb drive too.

The BIOS turns the boot process over to whatever is in the first 446 bytes of the first 512 byte sector of the first hard drive. The first hard drive having been defined in the BIOS. This first sector of the hard drive is what is called the MBR.

In Window's case there is, for the lack of a better term, a pointer in the MBR that directs the continuation of the boot process to the Windows boot loader which is located in the Windows partition. Windows is started from there.

Windows is not a nice playmate. It wants everything for itself and does not have any resources to boot other OSs. Vista is even less friendly than XP in this respect. There are Windows programs that you can use to get other OSs to boot from Windows, EasyBCD comes to mind, but I have never used it. Some seem to like it however. I don't know if it will serve your purpose or not.

Grub is one of a number of boot loaders that are used with Linux. Grub is the choice that Mint and many other Linux distros use. Grub is a mini operating system in itself. The grub kernel is placed in the first 446 bytes of the MBR sector and points to the stage 1.5 and 2 files, and the menu.lst in the /boot/grub folder of Mint. The options chosen here determine the path of the remainder of the boot process. Gurb constructs a boot command that has been determined by the options in menu.lst and points to the kernel that has been chosen to continue. This could be another Grub kernel, another boot loader kernel, or a Linux or other OS kernel. The criteria is it must be bootable.

I hope this helps you understand the boot process better. There is more in depth discussion of Grub in the thread below.

http://forums.linuxmint.com/viewtopic.p ... rub#p63253

Fred
piratesmack

Re: dual boot without GRUB bootloader?

Post by piratesmack »

userbrackish wrote: i was just wondering if there was a way to use that M$ boot loader instead of GRUB.
The M$ bootloader can't boot Linux directly, just like Grub can't boot Windows directly.
But you can install Grub to the superblock of the Linux partition and chainload it from the Windows bootloader:
That's the way I do it when installing Mint on other people's computers.
It makes going back to a single-boot a lot easier if they don't like it.

But before you follow these instructions, back up the executive code section of the mbr just in case something goes wrong (be careful with this command, dd can be dangerous):

Code: Select all

sudo dd if=/dev/sda of=mbr.bin bs=446 count=1
Copy mbr.bin somewhere safe
If something does go wrong, you can restore the mbr with (again, be careful):

Code: Select all

sudo dd if=mbr.bin of=/dev/sda bs=446 count=1
Basic instructions:
-Start the Linux Mint installer
-Choose your language, timezone, and all that
-At the part where it asks you to review your settings, click "Advanced"
-Choose to install the bootloader to /dev/sdax (Where ever you chose to install Linux) instead of the mbr (hd0)
-Let Linux Mint install, then reboot.
-The computer will boot back into Vista, download and install EasyBCD:
http://neosmart.net/dl.php?id=1
-Start EasyBCD and go to "Add/Remove entries"
-Choose the "Linux" tab
-Choose "Grub" from the bootloader drop down menu
-Give the entry a name. (Maybe Linux Mint?)
-Choose your hard drive and the Linux partition
-And click "Add entry"

Then just reboot and you will have the option either boot into Windows or to chainload Grub and boot Linux
Hope this helps
Fred

Re: dual boot without GRUB bootloader?

Post by Fred »

userbrackish wrote:
random question -at what age did you write your first program?
Well... calling it a "program" would probably be somewhat of an embellishment. But probably about 20 years ago. I would have been about 50 years young then. How I long for the days of my youth, when I was young and foolish. :-)

Fred
altair4
Level 20
Level 20
Posts: 11453
Joined: Tue Feb 03, 2009 10:27 am

Re: dual boot without GRUB bootloader?

Post by altair4 »

userbrackish wrote: i was just wondering if there was a way to use that M$ boot loader instead of GRUB.
Yes, it's called EasyBCD - it's just for Vista. It's not a bootloader, it's a way to edit Vista's BCD bootloader to include Linux or just about anything else.

EasyBCD: http://neosmart.net/dl.php?id=1

A HowTo Guide: http://www.pclosmag.com/html/Issues/200708/page03.html
The guide above is from another distro but it's mostly about Vista so the procedures are pretty much the same. It's about the same thing piratesmack said but with screenshots :wink:
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Fred

Re: dual boot without GRUB bootloader?

Post by Fred »

userbrackish,

You and I have a completely different frame of reference. The world I grew up in is not the one you live in. When I was a young boy refrigeration had been invented but most people still used an ice box. Nobody ever heard of a TV, let alone had one. As for computers? What is that? :-)

Fred
Locked

Return to “Beginner Questions”