View previous topic :: View next topic |
Author |
Message |
trigg Apprentice
Joined: 14 Jun 2018 Posts: 179
|
Posted: Mon Jun 18, 2018 10:26 am Post subject: [RISOLTO]:configurare grub per multiboot |
|
|
apro questo topic perchè ho cercato in questi giorni una risposta molte riguardano uefi mentre la risposta che cerco riguarda bios
nell'hard disk ho altri sistemi operativi
ho lanciato
Code: | grub-mkconfig -o /boot/grub/grub.cfg |
ma visualizza solo gentoo
probabilmente dovrò installare un pacchetto specifico che rileva oltre che i sistemi anche i dischi
questo perchè durante l'installazione ho inserito in /etc/fstab una partizione dati in /mnt/DATI che non riesce a leggere.
Last edited by trigg on Thu Jun 21, 2018 10:00 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30889 Location: here
|
Posted: Mon Jun 18, 2018 11:41 am Post subject: |
|
|
Non ho esperienza in campo di dual boot ma dai un'occhiata qui _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1012
|
Posted: Mon Jun 18, 2018 12:34 pm Post subject: |
|
|
probabilmente ti manca
Code: | sys-boot/os-prober
Available versions: 1.76-r1
Installed versions: 1.71[?](00:34:38 23/05/2018)
Homepage: https://packages.debian.org/source/sid/os-prober
Description: Utility to detect other OSs on a set of drives
|
per il /mnt/DATI presumo sia una partizione condivisa Windows (ntfs ? FAT ? exFAT ?)
dovresti postare l' fstab e dare una occhiata alle utility per la gestione di questi filesystems
Code: | sys-fs/ntfs3g
Available versions: 2016.2.22-r2(0/87) (~)2017.3.23(0/87) {acl debug +external-fuse ntfsdecrypt +ntfsprogs static-libs suid xattr}
Installed versions: 2017.3.23(0/87)(14:06:54 08/10/2017)(acl external-fuse ntfsprogs suid xattr -debug -ntfsdecrypt -static-libs)
Homepage: http://www.tuxera.com/community/ntfs-3g-download/
Description: Open source read-write NTFS driver that runs under FUSE
|
Code: | sys-fs/dosfstools
Available versions: 4.0-r1^t (~)4.1 {compat test +udev}
Installed versions: 4.1(22:23:49 26/02/2017)(compat udev -test)
Homepage: https://github.com/dosfstools/dosfstools
Description: DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat
|
Code: | sys-fs/exfat-utils
Available versions: 1.2.8
Installed versions: 1.2.8(22:56:22 24/02/2018)
Homepage: https://github.com/relan/exfat
Description: exFAT filesystem utilities
|
_________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
trigg Apprentice
Joined: 14 Jun 2018 Posts: 179
|
Posted: Mon Jun 18, 2018 7:02 pm Post subject: |
|
|
si
os-prober mi mancava
lìho installato dato
Code: | grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg |
e mi ha rilevato tutti i sistemi
#########
questo è fstab
Code: | # /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
# filesystems. This just tells the kernel to use the ext4 driver.
#
# NOTE: You can use full paths to devices like /dev/sda3, but it is often
# more reliable to use filesystem labels or UUIDs. See your filesystem
# documentation for details on setting a label. To obtain the UUID, use
# the blkid(8) command.
#LABEL=boot /boot ext4 noauto,noatime 1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
#LABEL=swap none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/sda5 /boot ext2 defaults 0 2
/dev/sda6 none swap sw 0 0
/dev/sda13 / ext4 noatime 0 1
/dev/sda14 /home ext4 noatime 0 0
/dev/sda15 /mnt/DATI ext4 noatime 0 0 |
mnt/DATI è in ext4 un'archivio condiviso con tutti i sistemi dove salvo tutto e posso accedere indistamente da ogni sistema
devo installare i pacchetti da te indicati
e non appena finisce l'installazione di chromium provo subito il reboot per testare grub e lightdm
dopo procederò con i dischi
e tante altre domande
yeah!! ^_^ |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1012
|
Posted: Mon Jun 18, 2018 7:39 pm Post subject: |
|
|
come opzione di mount aggiungerei
(anche per la /home)
così che l'utente abbia tutti i permessi necessari per accedervi e anche l'indice del check del filesystem nel sesto campo (2)
Code: | /dev/sda15 /mnt/DATI ext4 noatime,defaults 0 2 |
dal manuale di 'fstab
Code: | The sixth field (fs_passno).
This field is used by fsck(8) to determine the order in which filesystem checks are done at boot time. The root filesystem should be specified with a fs_passno of 1. Other filesystems should have a fs_passno of 2.
Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. Defaults to zero (don't fsck) if not present.
|
defaults
Code: | defaults
use default options: rw, suid, dev, exec, auto, nouser, and async.
|
_________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
trigg Apprentice
Joined: 14 Jun 2018 Posts: 179
|
Posted: Tue Jun 19, 2018 7:14 pm Post subject: |
|
|
grazie sabayonino
il grub va bene , legge tutti i sistemi installati
alla lista dei tuoi pacchetti ho aggiunto anche udev
prima non leggeva le usb adesso le legge ,le riconosce e le apre
l'unico disco che non riesce a leggere è proprio la partizione /mnt/DATI assegnata in fstab (ho modificato fstab come hai suggerito)
cmq potrei risolvere togliendolo da fstab e probabilmente lo andrà a leggere come una normale usb
al prossimo riavvio farò un'aggiornamento su come è andato |
|
Back to top |
|
|
sabayonino Veteran
Joined: 03 Jan 2012 Posts: 1012
|
Posted: Wed Jun 20, 2018 10:59 am Post subject: |
|
|
Se /mnt/DATI è un dispositivo USB potrebbe non esser rilevato al boot e quindi montato correttamente , ma dubito
individua il suo UUID con il comando blkid
e al posto del dispositivo ci metti il suo UUID che hai rilevato nel fstab
Code: | UUID=xxxx-xxxx-xxxxx-xxxx /mnt/DATI .... |
e ricordati di aggiungere l'utente (normale) al gruppo USB e anche al plugdev
Code: | # gpasswd -a <utente> usb |
_________________ LRS i586 on G.Drive
LRS x86-64 EFI on MEGA |
|
Back to top |
|
|
trigg Apprentice
Joined: 14 Jun 2018 Posts: 179
|
Posted: Thu Jun 21, 2018 9:59 am Post subject: |
|
|
penso di aver risolto il montaggio di /mnt/DATI
che è una partizione del disco.
ho aggiunto user al gruppo usb come hai suggerito
dopo ho modificato i permerssi con chwon -R utente:gruppo /percorso
ho creato con mkdir /mnt/DATI
montato con mount /dev/sda15 /mnt/DATI
e ho aggiunto /mnt/DATI ad fstab
con noatime,deaults 0 2
adesso posso accedere senza problema.
una precisazione a questo topic nella nuova installazione di gentoo non ho installato udev e bastano solo i pacchetti indicati da te sabayonino per poter leggere e montare sia le partizioni del disco che le usb
risolto e grazie |
|
Back to top |
|
|
|