Partioning issue, duel boot
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
Hi All,
Please let me know if these counts as 'promoting non-free software' as I am trying to duel boot Trisquel beside Ubuntu while I transition to Trisquel.
So While installing Trisquel I choose 'something else' radio button in order to make my own partitions, I made a 10Gb ext4 partition for the Trisquel install and made the mounting point / and made another ext4 partition with mounting point /home (the mounting points aren't visible when viewing them in gparted in Ubuntu see attachment). Installed Trisquel and it installed successfully, but in my boot options Trisquel isn't an option.
I didn't make a swap area because I thought Ubuntu and Trisquel could share this, wasn't really sure what I was doing the entire time, and so I have no idea where I might have gone wrong. any input would be much appreciated.
Pièce jointe | Taille |
---|---|
Screenshot from 2016-05-23 21:45:09.png | 62.37 Ko |
One single swap partition is indeed enough: it is shared.
Try the following command in Ubuntu and see if Trisquel is then listed in GRUB's menu (GNU GRUB is the bootloader):
$ sudo update-grub
One swap is enough unless you hibernate one distro onto it and then use another distro before thawing the first one.
I believe you can hibernate to a file instead if this scenario becomes an issue.
Indeed. I did not think of that. The swap can be a file too (what solves as well the potential issue).
Thank you Magic Banana, I didn't expect it to be so easy.
Would you know how to make Trisquel the default in the GRUB menu?
Also Trisquel currently narrates everything I do with a synthesized voice how do I turn it off. :/
This may be helpful I hope.
https://trisquel.info/en/forum/edit-grub
Basically, you edit the file at /etc/default/grub; change 'GRUB_DEFAULT=0' --> 'GRUB_DEFAULT=2'
sudo nano /etc/default/grub
save and exit: Ctrl+x, y, enter
then update Grub
sudo update-grub
Hmmm, I've always used the "full path", in fact I have
GRUB_DEFAULT="1>2"
Explanation: The first entry is 0, the second is 1 etc etc..
In my GRUB I have the kernel 686pae as first entry. The second entry is "other options" (or something alike), so I select this second entry (1) and then in the second menu I need to select the third entry (2) which is the 586 kernel.
Hence "1>2"
My setup worked like that with three entries. Windows was installed first, then Trisquel. Changing '0' to '2' made Win start first by default.
I wonder if this works.
sudo grub-set-default X
where 'X' is a number 1--3 (default is '0').
https://help.ubuntu.com/community/Grub2/Setup
Find out what entry is the present default.
grep menuentry /boot/grub/grub.cfg
Thanks for that, I got it working, though the grub file had to be changed in Ubuntu, not Trisquel
It had to be changed there because, just as "update-grub" gave you the
expected results only in Ubuntu, it means that Ubuntu's GRUB is in
effect.
This means that you must keep Ubuntu in your computer, otherwise it
won't boot. Unless: You ask another system to install it's own GRUB on
your computer's hard disk.
Actually, between all these non-free systems you used so far, I
recommend that you make Trisquel's GRUB the default.
To do so, boot Trisquel, and do:
df --output="source,target"
This'll give you a list, and when using Trisquel, the "/" mount-point
("Mounted as") must be something like "/dev/sd[Some letter, without
these braces][Some number here, without these braces]". Now, remove the
number from the file name, because what matter for us is "/dev/sd[Any
letter]".
Now do:
sudo grub-install "[The file name, without the numbers, and without
these braces]"
And finally, do (just to make sure everything is updated):
sudo update-grub
Simplifying, if there is one single disk in the system:
$ sudo grub-install /dev/sda
$ sudo update-grub
I figured out the screen reader, sorry for being lazy.
- Vous devez vous identifier ou créer un compte pour écrire des commentaires