Choose style:

Author Topic: plop boot  (Read 314 times)

0 Members and 1 Guest are viewing this topic.

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
plop boot
« on: April 15, 2018, 03:44:03 pm »
Hello-

I enjoy using PM 8 on both my laptops, but i feel I could use a more speedy one on my oldest of the two (a 2003 era antiquity)

In order to do this I need to boot from usb key, but the laptop doesn't have booting options from usb key.

I used this https://download.plop.at/files/bootmngr/plpbt-5.0.15.zip before when windows xp was running and was fairly easy to set up, but I'm having a hard time figuring out how to do it on Linux.

Help would be greatly appreciated as i love PM and would like to try out version 6  :P

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21016
  • Karma: 2369
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: plop boot
« Reply #1 on: April 15, 2018, 03:59:24 pm »
So where are you planning to put plop ? .. on a floppy ?

If so, and your floppy has /dev/fd0 as the device node, then
Code: [Select]
dd if=/path/to/plpbt.img of=/dev/fd0

Another option would be to add plpbt.bin to the GRUB2 menu of your current Peppermint installation .. so GRUB offfers to let you boot a USB stick.

Sources:
https://www.plop.at/en/bootmanager/plpbt.bin.html#runflp
and
https://www.plop.at/en/bootmanager/plpbt.bin.html#rungrub2
« Last Edit: April 15, 2018, 04:07:39 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #2 on: April 15, 2018, 04:23:19 pm »
So where are you planning to put plop ? .. on a floppy ?

If so, and your floppy has /dev/fd0 as the device node, then
Code: [Select]
dd if=/path/to/plpbt.img of=/dev/fd0

Another option would be to add plpbt.bin to the GRUB2 menu of your current Peppermint installation .. so GRUB offfers to let you boot a USB stick.

Sources:
https://www.plop.at/en/bootmanager/plpbt.bin.html#runflp
and
https://www.plop.at/en/bootmanager/plpbt.bin.html#rungrub2

Ah, thank you, I didn't see that section on the site!

I wanted to add it to the grub menu, so this was helpful!

question.. how do I copy the plpbt.bin file to /boot?  Do i use the terminal or literally copy/paste the file in some directory?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21016
  • Karma: 2369
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: plop boot
« Reply #3 on: April 15, 2018, 04:32:33 pm »
Run:
Code: [Select]
gksudo nemo /boot
and copy/paste plpbt.bin into the window that just opened.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #4 on: April 15, 2018, 04:44:46 pm »
Thank you again 🙏

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #5 on: April 16, 2018, 08:23:51 am »
Run:
Code: [Select]
gksudo nemo /boot
and copy/paste plpbt.bin into the window that just opened.

Once i did that, how do i modify the grub..?

How do I know what grub i have (grub, grub2, lilo)

 :(

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1609
  • Karma: 272
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8
Re: plop boot
« Reply #6 on: April 16, 2018, 09:51:14 am »
You'll have grub 2, grub legacy is not widely used any more.

Have you created the /etc/grub.d/40_custom file as stated on the link? If your plop is on /dev/sda1 then that file content should be right. Then run

Code: [Select]
sudo update-grub
« Last Edit: April 16, 2018, 09:53:32 am by murraymint »

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #7 on: April 16, 2018, 11:23:15 am »
You'll have grub 2, grub legacy is not widely used any more.

Have you created the /etc/grub.d/40_custom file as stated on the link? If your plop is on /dev/sda1 then that file content should be right. Then run

Code: [Select]
sudo update-grub

Sorry but I don't know what all that means, and I've been trying my hardest to understand... all i wished for is to create a booting option when booting up the laptop, whereas with windows all i had to do was open a .bat file while here I'm just getting more confused...

 The /etc/grub.d/40_custom file is an example as far as i understand... what do I write instead of custom file?

And what is /dev/sda1 ?

Sorry if i'm polonging this post more than necessary but i'm more than lost!!

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1609
  • Karma: 272
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8
Re: plop boot
« Reply #8 on: April 16, 2018, 01:21:29 pm »
You should use the filename and path given, ie, /etc/grub.d/40_custom

Code: [Select]
sudo pluma /etc/grub.d/40_custom

Then copy in the content of the file and save.

/dev/sda1 is the first partition on the first hard drive (normally). Can you post the output of

Code: [Select]
sudo blkid

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #9 on: April 16, 2018, 01:44:36 pm »
You should use the filename and path given, ie, /etc/grub.d/40_custom

Code: [Select]
sudo pluma /etc/grub.d/40_custom

Then copy in the content of the file and save.

/dev/sda1 is the first partition on the first hard drive (normally). Can you post the output of

Code: [Select]
sudo blkid

Sure

Code: [Select]
/dev/sda1: UUID="e666425f-5e53-4b51-89ae-909bd2468380" TYPE="ext2" PARTUUID="a48c4264-01"
/dev/sda5: UUID="ICT3MY-gJa1-it1Y-79Vi-dqHN-0qkY-8cJj1M" TYPE="LVM2_member" PARTUUID="a48c4264-05"
/dev/mapper/peppermint--vg-root: UUID="1778fe8e-bb30-4771-9e53-c3be2709c9de" TYPE="ext4"
/dev/mapper/peppermint--vg-swap_1: UUID="de0273e4-bd01-4a39-9f37-5d36bc0ee0ea" TYPE="swap"


And I'll try that as well.. thank you!

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1609
  • Karma: 272
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8
Re: plop boot
« Reply #10 on: April 16, 2018, 02:16:49 pm »
OK, it looks like that should work then. Let us know how you get on :)

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #11 on: April 16, 2018, 02:47:57 pm »
Well folks


I greatly appreciate your efforts to help me but in the end this whole procedure did not work.



So I went for the traditional way.

Went to my computer store, bought a pack of five RW CDs and burned PM 6 on one of them.

Booted from the CD and everything went fine.

Thank you again!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21016
  • Karma: 2369
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: plop boot
« Reply #12 on: April 16, 2018, 02:51:44 pm »
LVM was the problem .. you'd have needed to adjust the boot stanza accordingly.

Hint -  Unless you have any requirement for it (and if you don't know what it is, you probably don't), don't select LVM during installation ;)
« Last Edit: April 16, 2018, 02:53:16 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: plop boot
« Reply #13 on: April 16, 2018, 06:16:57 pm »
Well then what's LVM?  :D

This question is just for curiosity, since I don't need the the plop boot manager anymore.. *sigh*

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21016
  • Karma: 2369
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: plop boot
« Reply #14 on: April 16, 2018, 08:42:27 pm »
LOL, you had to ask .. enjoy :)
https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)

During installation, if offered LVM and you have no requirement for it, probably best not to choose it :)
(along with full disk encryption, it can make some things much more complex to achieve)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec