Author Topic: Plop Boot Manager & separate Linux hdd  (Read 9734 times)

Benbrockn

  • Newbie
  • *
  • Posts: 7
Plop Boot Manager & separate Linux hdd
« on: February 25, 2015, 21:09:56 PM »
Hello, so I'm trying to configure a dual-boot setup with Windows and Linux but using Plop Boot Manager as the boot method.

I set it up in virtualbox having Plop & MiniXp on one harddrive with a full Slitaz distro on a seperate hardrive with it's own grub bootloader on that linux harddrive.

Like so:

sda1 - Plop Boot Manager (full install) & (In the future, MiniXp will be on here too)

sdb1 - SliTaz (full install with grub bootloader)


==========================================================

This is what I did for Plop:

I set up the partitions like this:


This is the profile setup:


And on the profile setup window, you select "linked partitions" to get to this screen, and I set it up like this:

The set boot partition was on both sda1 & sdb1 with no luck (Here it lists them as hda1 & hdb1)

==========================================================

Forgetting about the miniXp for a moment (since that doesn't matter right now), the Slitaz distro runs on it's own if I boot straight to sdb1. If I boot it up using Plop it gives an error of "This is not a bootable disk". Maybe I configured Plop wrong??


Any help is greatly appreciated.

-Ben

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Plop Boot Manager & separate Linux hdd
« Reply #1 on: February 26, 2015, 08:04:26 AM »
hello,

install grub to the boot sector of sdb1

best regards
elmar

Benbrockn

  • Newbie
  • *
  • Posts: 7
Re: Plop Boot Manager & separate Linux hdd
« Reply #2 on: February 26, 2015, 08:30:19 AM »
hello,

install grub to the boot sector of sdb1

best regards
elmar

Hey elmar,

As far as I know, grub is already installed on sdb1. When I go into the bios and boot directly from sdb1 (no plop), it boots fine. Even one of the installation options for installing SliTaz asks "do you want to install grub as your bootloader?" and I selected that.

As far as terminology goes (of which I admit that I'm lacking), unless the boot sector of sdb1 is different than where grub is normally installed, I already did that.

-Ben

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Plop Boot Manager & separate Linux hdd
« Reply #3 on: February 26, 2015, 08:39:17 AM »
when you did not say that grub should be installed to the boot sector during the install process, then grub is installed to the mbr

bios booting works, because bios loads the mbr where grub is and grub boots linux.


elmar

Benbrockn

  • Newbie
  • *
  • Posts: 7
Re: Plop Boot Manager & separate Linux hdd
« Reply #4 on: February 27, 2015, 04:14:29 AM »
elmar,

This is what the option on the SliTaz distro says:



I checked that box and it installed SliTaz (Linux) only on sbd1. Like I said, it loads straight from BIOS. It installed grub automatically, I'm not sure where.

I think what you are saying is to install grub to the partition's boot sector instead of the disk's MBR, correct?

I'm currently trying this command as root:

Quote
grub-install /dev/sdb1

but it is not working. Is this the correct command?

Thanks,
-Ben
« Last Edit: February 27, 2015, 04:42:07 AM by Benbrockn »

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Plop Boot Manager & separate Linux hdd
« Reply #5 on: February 27, 2015, 07:12:40 AM »
I'm currently trying this command as root:

Quote
grub-install /dev/sdb1

but it is not working. Is this the correct command?

i need more infos. is there an error output?

Benbrockn

  • Newbie
  • *
  • Posts: 7
Re: Plop Boot Manager & separate Linux hdd
« Reply #6 on: February 27, 2015, 09:26:27 AM »
When I use (as root):
Code: [Select]
grub-install /dev/sdb1--It errors:--
Quote
Could not find device for /boot: Not found or not a block device

So I looked up the error on Google and instead mounted sdb1 to /mnt/a and entered in this:
Code: [Select]
grub-install --root-directory=/mnt/a --recheck /dev/sdb1--Which says:--
Quote
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /mnt/a/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script 'grub-install'.

(fd0)  /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb

I'm not sure what fd0 is since I only have two disks attached and both of those are hd0 & hd1.

I restart the system, plop will not load sdb1 (linux). BIOS will load sdb1 (linux).

Any ideas??

Thanks,
-Ben

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Plop Boot Manager & separate Linux hdd
« Reply #7 on: February 27, 2015, 09:32:43 AM »
try

grub-setup --force /dev/sdb1
grub-install /dev/sdb1

Benbrockn

  • Newbie
  • *
  • Posts: 7
Re: Plop Boot Manager & separate Linux hdd
« Reply #8 on: February 27, 2015, 19:43:06 PM »
grub-setup is not an available command.

I tried a different approach. I went back into Plop Boot Manager, under the main profile I selected "linked partitions" and selected hdb1 as the boot partition.

So it seems to work, Plop then boots up grub4dos, but then gets stuck at the grub screen with this error:



I see that it says it is trying to read a FAT partition, I know it's not right, so I go to the "Edit Grub" screen and see this:



All of that looks good, it is what it is supposed to be. I decide to mess around with it and instead of:

Code: [Select]
root (hd1,0)
I type in:

Code: [Select]
root (hd0,0)
Okay, so oddly enough, it works -- to a point --. I don't know why Plop somehow changed around the HDD listings. It appears to load and then errors out with this:



So, I got plop to work, but how do I fix this? BIOS still loads fine.

- Ben

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Plop Boot Manager & separate Linux hdd
« Reply #9 on: February 27, 2015, 20:26:20 PM »
whats the slitaz download link. i want to reconstruct the situation when i have free time.

Benbrockn

  • Newbie
  • *
  • Posts: 7

Benbrockn

  • Newbie
  • *
  • Posts: 7
Re: Plop Boot Manager & separate Linux hdd
« Reply #11 on: March 13, 2015, 05:51:44 AM »
Did you ever get it to work?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: Plop Boot Manager & separate Linux hdd
« Reply #12 on: March 13, 2015, 10:48:16 AM »
i had no time for a test