Le 10/06/2018 à 16:08, Rowland Penny a écrit :
On Sun, 10 Jun 2018 08:55:55 -0400
Haines Brown <[email protected]> wrote:


When I execute a shell toward the end of installation, can I use it to
run the command "parted /dev/sda set 1 boot on" both to enable sda1
and to make it bootable at the same time? Would the command
"parted /dev/sda set 2 on" simply re-enable the second partition? I
found the parted manual unclear on this point.

I am fairly sure you will need to set up grub2 to do this, try reading
this:

https://unix.stackexchange.com/questions/252936/grub2-boot-to-a-second-another-hard-disk

Or failing that, google for the answer ;-)


    When your installation is almost finished, one of thevery last steps is installing the Grub bootloader. Just do it: it will automatically detect all OSes on all disks (which don't need to be mounted in any way), and generate a boot list which enables all them. You will have the currently installed OS on top of the list, then a rescue mode for this OS, then all the other detected OSes. You decide on which disk you want to install the Grub bootloader. I suggest you install it on all disks as explained below.

     You can install the Grub bootloader on other disks as well, either by re-running the bootloader installation step (I didn't check but I don't see why it would fail), or by invoking install-grub from the command-line (install-grub /dev/sda; install-grub /dev/sdb; etc..).

    Grub does not use internally the device names sda2, sdb1 sdc5, etc... but the UUIDs of the partitions to boot from, therefore you can permute your disks as you like if you have installed the bootloader on all of them.

    Didier


_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to