[Install] Dopo installaz. Ubuntu 10.10 all'avvio non funzione boot e parte WinXp sp3
[Install] Dopo installaz. Ubuntu 10.10 all'avvio non funzione boot e parte WinXp sp3
Oggi ho installato per la prima volta Ubuntu 10.10 64bit sul mio pc dove era già installato WinXp sp3.
Ho creato un cd di installazione dal file immagine che ho scaricato.Ho un hdd da 300gb (c: 80gb su cui è win e d:220gb dove metto tutto foto video ecc.)
Avvio l'installazione tutto ok, automaticamente mi chiede di scegliere lo spazio du d: che voglio riservare ad ubuntu, scelgo 80gb.
Formatta gli 80gb ed avvia l'installazione definitiva, tutto ok fino alla fine.
Vado a riavviare il pc e come se non avessi fatto nulla mi si avvia Windows senza boot loader o cose del genere..riprovo più volte ma nulla.
D: risulta partizionato perchè vedendo lo spazio disponibile da win mi da 140gb, quindi la partizione da 80 è stata fatta.
Nella rete ho trovato vari metodi per reinstallare il GRUB (credo sia questo il problema che ho) tutti dicono di usare il live cd per poi inserire dei comandi nel terminal, però se provo a scrivere quei comandi è come se non li riconoscesse, il prompt sei comandi dove vado ad inserire le stringhe è ubuntu@ubuntu.....a me sembra strano, ma non mi fa schiodare da quel prompt.
Riassumendo, ho in c: (partizione da 84gb windows)
in d: 120gb liberi per salvare dati
e nall'altra partizione da 8gb che non riesco a vedere da windows ho installato ubuntu.
Ma nulla.......che frustrazione.
Ho provato anche a reinstallare ubuntu ma al momento di scegliere la partizione non sapevo se riselezionere quella già usata in precedenza e poi mi chiedeva su quale partizione salvare il boot loader.......PANICO E CONFUSIONE..
Se ci capite qualcosa una mano è gradita...AIUTO!!
Ho creato un cd di installazione dal file immagine che ho scaricato.Ho un hdd da 300gb (c: 80gb su cui è win e d:220gb dove metto tutto foto video ecc.)
Avvio l'installazione tutto ok, automaticamente mi chiede di scegliere lo spazio du d: che voglio riservare ad ubuntu, scelgo 80gb.
Formatta gli 80gb ed avvia l'installazione definitiva, tutto ok fino alla fine.
Vado a riavviare il pc e come se non avessi fatto nulla mi si avvia Windows senza boot loader o cose del genere..riprovo più volte ma nulla.
D: risulta partizionato perchè vedendo lo spazio disponibile da win mi da 140gb, quindi la partizione da 80 è stata fatta.
Nella rete ho trovato vari metodi per reinstallare il GRUB (credo sia questo il problema che ho) tutti dicono di usare il live cd per poi inserire dei comandi nel terminal, però se provo a scrivere quei comandi è come se non li riconoscesse, il prompt sei comandi dove vado ad inserire le stringhe è ubuntu@ubuntu.....a me sembra strano, ma non mi fa schiodare da quel prompt.
Riassumendo, ho in c: (partizione da 84gb windows)
in d: 120gb liberi per salvare dati
e nall'altra partizione da 8gb che non riesco a vedere da windows ho installato ubuntu.
Ma nulla.......che frustrazione.
Ho provato anche a reinstallare ubuntu ma al momento di scegliere la partizione non sapevo se riselezionere quella già usata in precedenza e poi mi chiedeva su quale partizione salvare il boot loader.......PANICO E CONFUSIONE..
Se ci capite qualcosa una mano è gradita...AIUTO!!
Re: [Install] Dopo installaz. Ubuntu 10.10 all'avvio non funzione boot e parte WinXp sp3
dal cdlive, system, admin gparted posta una schermata
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Re: [Install] Dopo installaz. Ubuntu 10.10 all'avvio non funzione boot e parte WinXp sp3
in effetti è tutto come hai detto, la partizione è stata creata e l'installazione fatta, prova ad avviare dal cd ed a ripetere la procedura di ripristino http://wiki.ubuntu-it.org/Amministrazio ... Ripristino facendo il mount di /dev/sda5, copia ed incolla qui tutti i comandi che dai e le risposte.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Re: [Install] Dopo installaz. Ubuntu 10.10 all'avvio non funzione boot e parte WinXp sp3
Ho provato..ma sempre la solita storia...inizio inserendo le stringhe indicate sul link ma appena mi da i primi messaggi d'errore non ci capisco più nulla...
Ma secondo te magari faccio prima a riscaricare Ubuntu e provare a reinstallarlo?
Lo rimetterei nella partizione che ho già usato..ho solo paura che nel momento in cui mi chiede di selezionare la partizione possa fare casino.....è la prima volta che mi cimento con linux..
Comunque ti posto quello che mi chiedi...anche se è un casino, magari riesci a trovare qualcosa....e tante grazie per il tempo..
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ fdisk -1
fdisk: invalid option -- '1'
Usage:
fdisk [options] change partition table
fdisk [options] -l list partition table(s)
fdisk -s give partition size(s) in blocks
Options:
-b sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u give sizes in sectors instead of cylinders
-v print version
-C specify the number of cylinders
-H specify the number of heads
-S specify the number of sectors per track
ubuntu@ubuntu:~$ fdisk l
Unable to open l
ubuntu@ubuntu:~$ sudo fdisk -1
fdisk: invalid option -- '1'
Usage:
fdisk [options] change partition table
fdisk [options] -l list partition table(s)
fdisk -s give partition size(s) in blocks
Options:
-b sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u give sizes in sectors instead of cylinders
-v print version
-C specify the number of cylinders
-H specify the number of heads
-S specify the number of sectors per track
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa96e5ff2
Device Boot Start End Blocks Id System
/dev/sda1 1 121601 976760001 7 HPFS/NTFS
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1620161f
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 10199 81923436 7 HPFS/NTFS
/dev/sdb2 10200 29193 152565596 7 HPFS/NTFS
/dev/sdb3 29193 38914 78081025 5 Extended
/dev/sdb5 29193 38512 74855424 83 Linux
/dev/sdb6 38512 38914 3224576 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
mount: special device /dev/sda5 does not exist
ubuntu@ubuntu:~$ sudo mount /dev/sdal /mnt
mount: special device /dev/sdal does not exist
ubuntu@ubuntu:~$ sudo mount /dev/sdb5 /mnt
ubuntu@ubuntu:~$ sudo mount --bind/dev /mnt/dev
mount: unrecognized option '--bind/dev'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount --bind
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount --bind/dev /mnt/dev
mount: unrecognized option '--bind/dev'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount --bind/proc /mnt/proc
mount: unrecognized option '--bind/proc'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# mount /dev/sdb5/boot
mount: can't find /dev/sdb5/boot in /etc/fstab or /etc/mtab
root@ubuntu:/# grub-install /dev/sdb
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
root@ubuntu:/# sudo mount --bind/dev /mnt/dev
sudo: unable to resolve host ubuntu
mount: unrecognized option '--bind/dev'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
root@ubuntu:/# grub
The program 'grub' is currently not installed. You can install it by typing:
apt-get install grub
root@ubuntu:/# apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub2' has no installation candidate
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub' has no installation candidate
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub' has no installation candidate
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub' has no installation candidate
root@ubuntu:/# grub
The program 'grub' is currently not installed. You can install it by typing:
apt-get install grub
root@ubuntu:/# apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub2' has no installation candidate
root@ubuntu:/# update-grub2
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
root@ubuntu:/#
>:(
Ma secondo te magari faccio prima a riscaricare Ubuntu e provare a reinstallarlo?
Lo rimetterei nella partizione che ho già usato..ho solo paura che nel momento in cui mi chiede di selezionare la partizione possa fare casino.....è la prima volta che mi cimento con linux..
Comunque ti posto quello che mi chiedi...anche se è un casino, magari riesci a trovare qualcosa....e tante grazie per il tempo..
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ fdisk -1
fdisk: invalid option -- '1'
Usage:
fdisk [options] change partition table
fdisk [options] -l list partition table(s)
fdisk -s give partition size(s) in blocks
Options:
-b sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u give sizes in sectors instead of cylinders
-v print version
-C specify the number of cylinders
-H specify the number of heads
-S specify the number of sectors per track
ubuntu@ubuntu:~$ fdisk l
Unable to open l
ubuntu@ubuntu:~$ sudo fdisk -1
fdisk: invalid option -- '1'
Usage:
fdisk [options] change partition table
fdisk [options] -l list partition table(s)
fdisk -s give partition size(s) in blocks
Options:
-b sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u give sizes in sectors instead of cylinders
-v print version
-C specify the number of cylinders
-H specify the number of heads
-S specify the number of sectors per track
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa96e5ff2
Device Boot Start End Blocks Id System
/dev/sda1 1 121601 976760001 7 HPFS/NTFS
Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1620161f
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 10199 81923436 7 HPFS/NTFS
/dev/sdb2 10200 29193 152565596 7 HPFS/NTFS
/dev/sdb3 29193 38914 78081025 5 Extended
/dev/sdb5 29193 38512 74855424 83 Linux
/dev/sdb6 38512 38914 3224576 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
mount: special device /dev/sda5 does not exist
ubuntu@ubuntu:~$ sudo mount /dev/sdal /mnt
mount: special device /dev/sdal does not exist
ubuntu@ubuntu:~$ sudo mount /dev/sdb5 /mnt
ubuntu@ubuntu:~$ sudo mount --bind/dev /mnt/dev
mount: unrecognized option '--bind/dev'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount --bind
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount --bind/dev /mnt/dev
mount: unrecognized option '--bind/dev'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo mount --bind/proc /mnt/proc
mount: unrecognized option '--bind/proc'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# mount /dev/sdb5/boot
mount: can't find /dev/sdb5/boot in /etc/fstab or /etc/mtab
root@ubuntu:/# grub-install /dev/sdb
/usr/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
root@ubuntu:/# sudo mount --bind/dev /mnt/dev
sudo: unable to resolve host ubuntu
mount: unrecognized option '--bind/dev'
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
root@ubuntu:/# grub
The program 'grub' is currently not installed. You can install it by typing:
apt-get install grub
root@ubuntu:/# apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub2' has no installation candidate
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub' has no installation candidate
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub' has no installation candidate
root@ubuntu:/# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub' has no installation candidate
root@ubuntu:/# grub
The program 'grub' is currently not installed. You can install it by typing:
apt-get install grub
root@ubuntu:/# apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-pc
E: Package 'grub2' has no installation candidate
root@ubuntu:/# update-grub2
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
root@ubuntu:/#
>:(
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 11 ospiti
