Choose style:

Author Topic: edit installation files  (Read 272 times)

0 Members and 1 Guest are viewing this topic.

Offline grow

  • nOOb
  • *
  • Posts: 4
  • Karma: -1
  • New Forum User
    • View Profile
edit installation files
« on: September 16, 2018, 12:19:26 pm »
hello all,
je suis francais et se message est traduit avec google desole
 i'm french and get message is translated with google sorry

Ceci concerne Peppermint-9-20180621-i386 et l' installation de grub
Pendant l'installation, les possibilités pour grub sont:
1)  installer grub dans mbr
ou
2) installer grub dans root partition
Mais pas la possibilité de choisir de ne pas installer grub


Questions:
-) Est il possible d'installer Peppermint sans installer grub ?
-) y a-t-il un script ou recherchez cette option pour modifier cela ?
Comme ceci par exemple:
Avec linux antiX, sans entrer dans les détails, il est impossible a l'utilisateur d'installer une session live sur le lecteur utilisé pour démarrer se système en direct, on peux modifier se comportement de l'installateur en éditant des fichiers du répertoire /sbin
Exemple: commenter la ligne 169 dans /sbin/partition-info, permet de contourner cela
Quote
# [ "$EX_BOOT" ] && test -r $LIVE_CONFIG && eval $(grep ^BOOT_UUID= $LIVE_CONFIG)

Merci


This concerns Peppermint-9-20180621-i386.and the installation of grub
During the installation, the possibilities are:
1) install grub in mbr
or
2) install grub in root partition
But not the possibility to choose not to install grub
Question:
-) Is it possible to install Peppermint without installing grub?
-) is there script or look for this option to modify ?
Like this for example:
With linux antiX, without going into details, it is impossible for the user to install a live session on the player used to start the live system, we can modify the behavior of the installer by editing files in the directory / sbin
Example: comment line 169 in / sbin / partition-info, bypass this
Is it possible to do that?
thank you

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22254
  • Karma: 2485
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: edit installation files
« Reply #1 on: September 16, 2018, 01:43:22 pm »
Is that screenshot from your PC ?

If so your system appears to be UEFI, the 32bit version of Peppermint will not install on that machine unless you switched to 'Legacy BIOS Mode' because the 32bit version of Peppermint doesn't support UEFI.

Install the 64bit version instead.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1279
  • Karma: 163
  • Peppermint - Void - NetBSD
    • View Profile
  • Peppermint version(s): Peppermint 7 Respin (64bit)
Re: edit installation files
« Reply #2 on: September 16, 2018, 01:49:03 pm »
It looks like Mint without Pepper to me  :-\
 :)

Offline grow

  • nOOb
  • *
  • Posts: 4
  • Karma: -1
  • New Forum User
    • View Profile
Re: edit installation files
« Reply #3 on: September 16, 2018, 02:51:51 pm »
Is that screenshot from your PC ?

If so your system appears to be UEFI, the 32bit version of Peppermint will not install on that machine unless you switched to 'Legacy BIOS Mode' because the 32bit version of Peppermint doesn't support UEFI.

Install the 64bit version instead.
no, that's not screenshot from my PC, I gave this screenshot just for info on optional device for bootloader installation, and pc is 32bit version and Legacy BIOS Mode
thank you

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1715
  • Karma: 289
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: edit installation files
« Reply #4 on: September 16, 2018, 03:33:18 pm »
It won't do any harm to install it in the root partition. Then whatever is in the MBR won't be overwritten.

Offline grow

  • nOOb
  • *
  • Posts: 4
  • Karma: -1
  • New Forum User
    • View Profile
Re: edit installation files
« Reply #5 on: September 16, 2018, 05:45:15 pm »
Re,
It won't do any harm to install it in the root partition. Then whatever is in the MBR won't be overwritten.
Totally agree, but as grub2 is already installed in the mbr and  the configure myself  for "launch a distribution installed on a partition" and to avoid any risk...
That's why I do not need and prefer to never install GRUB

Tout à fait d'accord, mais comme grub2 est déjà installé dans le mbr et le configure moi-même pour "lancer une distribution installée sur une partition". et pour éviter tout risque de...
C'est pourquoi je n'ai pas besoin et préfère ne jamais installer GRUB

thx

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1715
  • Karma: 289
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: edit installation files
« Reply #6 on: September 16, 2018, 05:50:44 pm »
OK, I see. I don't know how to do that.

I'd probably just install it with GRUB on the partition and then find out how to erase GRUB from a partition. I don't see what harm it does to just leave it there though.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 22254
  • Karma: 2485
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R and 9
Re: edit installation files
« Reply #7 on: September 17, 2018, 04:52:21 pm »
Okay if you booted to the Live environment and ran the Ubiquity installer from the desktop "Install Peppermint" icon this is what you'd see:-


As you say there is no option to not install the GRUB bootloader.

But if you open a terminal and run:
Code: [Select]
ubiquity --help
you'll see this:-


As you can see, there is an option to start ubiquity with the --no-bootloader (or -b) option.

So if instead of opening the installer from the desktop icon, instead you run it from the commandline with:
Code: [Select]
ubiquity --no-bootloader
or:
Code: [Select]
ubiquity -b
this is what you'll see:-

WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline grow

  • nOOb
  • *
  • Posts: 4
  • Karma: -1
  • New Forum User
    • View Profile
Re: edit installation files
« Reply #8 on: September 22, 2018, 02:10:11 pm »
OK, I see. I don't know how to do that.

I'd probably just install it with GRUB on the partition and then find out how to erase GRUB from a partition. I don't see what harm it does to just leave it there though.

Re,
-) thank you, this is a possible solution too
merci, c'est aussi une solution possible
 
Okay if you booted to the Live environment and ran the Ubiquity installer from the desktop "Install Peppermint" icon this is what you'd see:-


As you say there is no option to not install the GRUB bootloader.

But if you open a terminal and run:
Code: [Select]
ubiquity --help
you'll see this:-


As you can see, there is an option to start ubiquity with the --no-bootloader (or -b) option.

So if instead of opening the installer from the desktop icon, instead you run it from the commandline with:
Code: [Select]
ubiquity --no-bootloader
or:
Code: [Select]
ubiquity -b
this is what you'll see:-

:)
very well, this corresponds to the desired option and also answers another question that I asked myself....
The answer to that is ubiquity.....

 ;)