Informações da última versão: Ubuntu Linux 20.10 - Groovy Gorilla
Citação de: luizjunior em 12 de Setembro de 2012, 18:12/dev/sda6 19533824 39063551 9764864 83 LinuxCódigo: [Selecionar]gedit /etc/fstabO sistema abre o editor de titulo fstab (/etc) - geditcom o conteudooverlayfs / overlayfs rw 0 0tmpfs /tmp tmpfs nosuid,nodev 0 0/dev/sda5 swap swap defaults 0 0OlaSe Ubuntu está na partição sda6Como não postou uma copia do fstab vou assumir que falta a entrada do sistema raiz.e me parece que postou o fstab do live cd, e não o de seu hd. Mont seu hd e depois navegue até ele e abra o fstab do seu hd.Um exemplo de fstab correto (o meu):Citar# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass>proc /proc proc nodev,noexec,nosuid 0 0# / was on /dev/sda1 during installationUUID=0c8d081f-87c2-4885-a3fc-aa0b0096099e / ext4 errors=remount-ro 0 1# swap was on /dev/sda5 during installationUUID=9f316b25-ec0a-4d53-9378-2171ca728b52 none swap sw 0 0[]'s
/dev/sda6 19533824 39063551 9764864 83 LinuxCódigo: [Selecionar]gedit /etc/fstabO sistema abre o editor de titulo fstab (/etc) - geditcom o conteudooverlayfs / overlayfs rw 0 0tmpfs /tmp tmpfs nosuid,nodev 0 0/dev/sda5 swap swap defaults 0 0
gedit /etc/fstab
# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass>proc /proc proc nodev,noexec,nosuid 0 0# / was on /dev/sda1 during installationUUID=0c8d081f-87c2-4885-a3fc-aa0b0096099e / ext4 errors=remount-ro 0 1# swap was on /dev/sda5 during installationUUID=9f316b25-ec0a-4d53-9378-2171ca728b52 none swap sw 0 0
ubuntu@ubuntu:~$ sudo fdisk -lDisk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x43fd47a7 Device Boot Start End Blocks Id System/dev/sda1 * 2048 43763711 21880832 7 HPFS/NTFS/exFAT/dev/sda2 43763712 77096959 16666624 83 Linux/dev/sda3 77096960 81602559 2252800 82 Linux swap / Solaris/dev/sda4 81602560 310978559 114688000 b W95 FAT32Disk /dev/sdb: 8006 MB, 8006074368 bytes13 heads, 13 sectors/track, 92525 cylinders, total 15636864 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0xc3072e18 Device Boot Start End Blocks Id System/dev/sdb1 * 8064 15636863 7814400 b W95 FAT32ubuntu@ubuntu:~$ sudo fsck /dev/sda2fsck from util-linux 2.20.1e2fsck 1.42 (29-Nov-2011)/dev/sda2: clean, 155494/1042432 files, 731929/4166656 blocksubuntu@ubuntu:~$ gedit /etc/fstab
sudo gedit /Endereço_da_midia/etc/fstab
OlaQual endereço esta digitando depois de "sudo gedit"?para abrir o fstab?Código: [Selecionar]sudo gedit /Endereço_da_midia/etc/fstab onde "Endreço_da_midia" é o ponto de montagem de seu hd ( geralmente em /media)[]'s
ubuntu@ubuntu:~$ sudo fdisk -lDisk /dev/sda: 160.0 GB, 160041885696 bytes255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x43fd47a7 Device Boot Start End Blocks Id System/dev/sda1 * 2048 43763711 21880832 7 HPFS/NTFS/exFAT/dev/sda2 43763712 77096959 16666624 83 Linux/dev/sda3 77096960 81602559 2252800 82 Linux swap / Solaris/dev/sda4 81602560 310978559 114688000 b W95 FAT32Disk /dev/sdb: 8006 MB, 8006074368 bytes13 heads, 13 sectors/track, 92525 cylinders, total 15636864 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0xc3072e18 Device Boot Start End Blocks Id System/dev/sdb1 * 8064 15636863 7814400 b W95 FAT32ubuntu@ubuntu:~$ sudo gedit /media/etc/fstab(gedit:3783): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.4DIOKW': No such file or directory(gedit:3783): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory(gedit:3783): GLib-GIO-WARNING **: Missing callback called fullpath = /root/.local/share/recently-used.xbelubuntu@ubuntu:~$ sudo fsck /dev/sda2fsck from util-linux 2.20.1e2fsck 1.42 (29-Nov-2011)/dev/sda2: clean, 155596/1042432 files, 732791/4166656 blocksubuntu@ubuntu:~$ sudo gedit /media/etc/fstab
OlaPeraí... Voce tinha o Ubuntu na sda6 e agora tem ele na sad2, o que voce fez? Uma pergunta: Voce consegue ter acesso a seus arquivos no hd?Se tem acesso ele foi montado, então usando o nautilus voce pode entrar no seu hd e ir até a pasta /etc dele e clicar duas vezes no arquivo fstab (do hd)poste aqui[]'s
# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass>proc /proc proc nodev,noexec,nosuid 0 0# / was on /dev/sda2 during installationUUID=13475c0d-cb82-47bd-a1bc-8443816e4d8b / ext4 errors=remount-ro 0 1# swap was on /dev/sda3 during installationUUID=7d13469a-7c65-4ace-b7ba-e70decdbced5 none swap sw 0 0
gedit /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'GRUB_DEFAULT=0#GRUB_HIDDEN_TIMEOUT=0GRUB_HIDDEN_TIMEOUT_QUIET=trueGRUB_TIMEOUT=10GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"GRUB_CMDLINE_LINUX=""# Uncomment to enable BadRAM filtering, modify to suit your needs# This works with Linux (no patch required) and with any kernel that obtains# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"# Uncomment to disable graphical terminal (grub-pc only)#GRUB_TERMINAL=console# The resolution used on graphical terminal# note that you can use only modes which your graphic card supports via VBE# you can see them in real GRUB with the command `vbeinfo'#GRUB_GFXMODE=640x480# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux#GRUB_DISABLE_LINUX_UUID=true# Uncomment to disable generation of recovery mode menu entries#GRUB_DISABLE_RECOVERY="true"# Uncomment to get a beep at grub start#GRUB_INIT_TUNE="480 440 1"
Código: [Selecionar]# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'GRUB_DEFAULT=0#GRUB_HIDDEN_TIMEOUT=0GRUB_HIDDEN_TIMEOUT_QUIET=trueGRUB_TIMEOUT=10GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"GRUB_CMDLINE_LINUX=""
# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'GRUB_DEFAULT=0#GRUB_HIDDEN_TIMEOUT=0GRUB_HIDDEN_TIMEOUT_QUIET=trueGRUB_TIMEOUT=10GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"GRUB_CMDLINE_LINUX=""
sudo gedit /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update# /boot/grub/grub.cfg.# For full documentation of the options in this file, see:# info -f grub -n 'Simple configuration'GRUB_DEFAULT=0#GRUB_HIDDEN_TIMEOUT=0GRUB_HIDDEN_TIMEOUT_QUIET=trueGRUB_TIMEOUT=10GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"GRUB_CMDLINE_LINUX=""
sudo update-grub
sudo grub-install /dev/sda
sudo mkdir /root/.config/nautilus