cristianomatos
(usa Ubuntu)
Enviado em 17/06/2012 - 18:34h
mcnd2 escreveu:
cristianomatos escreveu:
Após o fdisk -l aparece o seguinte:
cristiano@cristiano-eM250 ~ $ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe691e691
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 233496731 116644942 7 HPFS/NTFS/exFAT
/dev/sda3 233498622 312580095 39540737 5 Extended
/dev/sda5 233498624 308408319 37454848 83 Linux
/dev/sda6 308410368 312580095 2084864 82 Linux swap / Solaris
Disk /dev/sdb: 7933 MB, 7933526016 bytes
68 heads, 4 sectors/track, 56967 cylinders, total 15495168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 8064 15495167 7743552 b W95 FAT32
cristiano@cristiano-eM250 ~ $
Pelo que eu estou entendendo em sua tabela de partição, o Mint13 esta instalado em '/dev/sda5', certo Cristiano?
* Supondo que você esteja no sistema rolando de seu pendriver, monte a partição /dev/sda5 em /mnt com o comando abaixo utilizando o sudo:
sudo mount -ext4 /dev/sda5 /mnt
** Já montado a partição role agora o comando:
sudo grub-install --root-directory=/mnt /dev/sda
Depois dos procedimentos executados reinicie o sistema e desconecte o pendriver.
...
Recebi a seguinte mensagem:
cristiano@cristiano-eM250 ~ $ sudo mount -ext4 /dev/sda5 /mnt
mount: invalid option -- 'e'
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 .
cristiano@cristiano-eM250 ~ $