Aqui vai, Carlos,
e eu tinha posto duas vezes porque eu li mal, não tô muito legal, achei
que era para pegar nas duas partições, mas pediste para explicar as
partições:
- a de 35GB tem windows - sda3 (por causa de alguns jogos);
- a de 4,7 apenas dados - sda6;
- a de 10 uma versão do sistema - sda1 (que é para ser a partição de
sistema principal);
- a de 14 tem outra versão do ubuntu - sda4;
- a de 15 é a minha pasta home - sda5;
- as outras duas são swap (a de teste antes era kurumim e eu não sabia
se podia ser a mesma partição swap),
e abaixo vão os comandos:
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' 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 defaults 0 0
# / was on /dev/sda1 during installation
UUID=b0d0a879-6319-4392-8a5b-d64570c1fdba / ext4
relatime,errors=remount-ro 0 1
# /home was on /dev/sda5 during installation
UUID=7397f3b7-658f-4248-b64a-5a4a1e5be8ec /home ext3
relatime 0 2
# swap was on /dev/sda8 during installation
UUID=5b45ad8c-6f74-41c8-b38b-e47c7f20456b none swap
sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
*df*
Sist. Arq. 1K-blocos Usad Dispon. Uso% Montado em
/dev/sda1 9614116 6297976 2827768 70% /
udev 513192 272 512920 1% /dev
none 513192 568 512624 1% /dev/shm
none 513192 224 512968 1% /var/run
none 513192 0 513192 0% /var/lock
none 513192 0 513192 0% /lib/init/rw
/dev/sda5 14543616 11639852 2170800 85% /home
/home/leo/.Private 14543616 11639852 2170800 85% /home/leo/Private
/dev/sda4 13456612 2817796 9955252 23%
/media/2b0c93fc-8e98-4d12-be93-9eda22126c25
*mount*
Sist. Arq. 1K-blocos Usad Dispon. Uso% Montado em
/dev/sda1 9614116 6297976 2827768 70% /
udev 513192 272 512920 1% /dev
none 513192 568 512624 1% /dev/shm
none 513192 224 512968 1% /var/run
none 513192 0 513192 0% /var/lock
none 513192 0 513192 0% /lib/init/rw
/dev/sda5 14543616 11639852 2170800 85% /home
/home/leo/.Private 14543616 11639852 2170800 85% /home/leo/Private
/dev/sda4 13456612 2817796 9955252 23%
/media/2b0c93fc-8e98-4d12-be93-9eda22126c25
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="6"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b0d0a879-6319-4392-8a5b-d64570c1fdba
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-18-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b0d0a879-6319-4392-8a5b-d64570c1fdba
linux /boot/vmlinuz-2.6.31-18-generic
root=UUID=b0d0a879-6319-4392-8a5b-d64570c1fdba ro quiet splash
initrd /boot/initrd.img-2.6.31-18-generic
}
menuentry "Ubuntu, Linux 2.6.31-18-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b0d0a879-6319-4392-8a5b-d64570c1fdba
linux /boot/vmlinuz-2.6.31-18-generic
root=UUID=b0d0a879-6319-4392-8a5b-d64570c1fdba ro single
initrd /boot/initrd.img-2.6.31-18-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b0d0a879-6319-4392-8a5b-d64570c1fdba
linux /boot/vmlinuz-2.6.31-17-generic
root=UUID=b0d0a879-6319-4392-8a5b-d64570c1fdba ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set b0d0a879-6319-4392-8a5b-d64570c1fdba
linux /boot/vmlinuz-2.6.31-17-generic
root=UUID=b0d0a879-6319-4392-8a5b-d64570c1fdba ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sda3)" {
insmod ntfs
set root=(hd0,3)
search --no-floppy --fs-uuid --set 1240f5bf40f5a99d
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (on /dev/sda4)" {
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set 2b0c93fc-8e98-4d12-be93-9eda22126c25
linux /boot/vmlinuz-2.6.31-16-generic
root=UUID=2b0c93fc-8e98-4d12-be93-9eda22126c25 ro splash quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set 2b0c93fc-8e98-4d12-be93-9eda22126c25
linux /boot/vmlinuz-2.6.31-16-generic
root=UUID=2b0c93fc-8e98-4d12-be93-9eda22126c25 ro single splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (on /dev/sda4)" {
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set 2b0c93fc-8e98-4d12-be93-9eda22126c25
linux /boot/vmlinuz-2.6.31-14-generic
root=UUID=2b0c93fc-8e98-4d12-be93-9eda22126c25 ro splash quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set 2b0c93fc-8e98-4d12-be93-9eda22126c25
linux /boot/vmlinuz-2.6.31-14-generic
root=UUID=2b0c93fc-8e98-4d12-be93-9eda22126c25 ro single splash
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply
type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
Carlos Ribeiro escreveu:
> Oi Leonardo.
>
> Faz o favor de copiar aqui o conteúdo do arquivo */etc/fstab*. Podes abrí-lo
> com o gedit.
>
> Executa no terminal o comando *df* e copia aqui o resultado. A mesma coisa
> com o comando *mount* .
>
> Copia e cola também o conteúdo do arquivo */boot/grub/grub.cfg* que também
> pode ser aberto com o gedit.
>
> Mais uma coisa: porque colocaste duas vezes o resultado do comando *fdisk -l
> *?
>
>
> CR
>
>
> 2010/1/13 Leonardo Bergamo <[email protected]>
>
>
>> Obrigado pelo retorno, Carlos.
>> Vamos lá, tive que usar o sudo (comando "fdisk -l"), mas como dá pra ver
>> abaixo, dá exatamente a mesma coisa em qualquer uma das partições:
>>
>> Disco /dev/sda: 80.0 GB, 80026361856 bytes
>> 255 heads, 63 sectors/track, 9729 cylinders
>> Unidades = cilindros de 16065 * 512 = 8225280 bytes
>> Identificador do disco: 0xdcbcdcbc
>>
>> Dispositivo Boot Início Fim Blocos Id Sistema
>> /dev/sda1 1 1216 9767488+ 83 Linux
>> /dev/sda2 1217 3770 20515005 5 Estendida
>> /dev/sda3 * 3771 8027 34194352+ 7 HPFS ou NTFS
>> /dev/sda4 8028 9729 13671315 83 Linux
>> /dev/sda5 1217 3041 14659281 83 Linux
>> /dev/sda6 3042 3615 4610623+ b W95 FAT32
>> /dev/sda7 3616 3648 265041 82 Linux swap /
>> Solaris
>> /dev/sda8 3649 3770 979933+ 82 Linux swap /
>> Solaris
>>
>>
>>
>> Disco /dev/sda: 80.0 GB, 80026361856 bytes
>> 255 heads, 63 sectors/track, 9729 cylinders
>> Unidades = cilindros de 16065 * 512 = 8225280 bytes
>> Identificador do disco: 0xdcbcdcbc
>>
>> Dispositivo Boot Início Fim Blocos Id Sistema
>> /dev/sda1 1 1216 9767488+ 83 Linux
>> /dev/sda2 1217 3770 20515005 5 Estendida
>> /dev/sda3 * 3771 8027 34194352+ 7 HPFS ou NTFS
>> /dev/sda4 8028 9729 13671315 83 Linux
>> /dev/sda5 1217 3041 14659281 83 Linux
>> /dev/sda6 3042 3615 4610623+ b W95 FAT32
>> /dev/sda7 3616 3648 265041 82 Linux swap /
>> Solaris
>> /dev/sda8 3649 3770 979933+ 82 Linux swap /
>> Solaris
>>
>>
>>
>>
>> Carlos Ribeiro escreveu:
>>
>>> Não entendi. Tens o Ubuntu 9.10 instalado em duas partições diferente?
>>>
>> Por
>>
>>> favor, posta aqui o resultado do comando* fdisk -l* e nos explica o que
>>> contém cada partição que estiver listada.
>>> O que quer dizer *não consigo acessar Grub 2 a partir desta partição?
>>>
>>> *CR
>>>
>>> 2010/1/13 Leonardo Bergamo <[email protected]>
>>>
>>>
>>>
>>>> Alguém pode me ajudar,
>>>>
>>>> Atualizei para o Ubuntu 9.10 a partição que uso, e, em seguida,
>>>> atualizei e instalei (usei os comandos do manual da comunidade na web) e
>>>> não consigo acessar Grub 2 a partir desta partição - tentei usar o
>>>> startupmanager, mas só funciona inicializando pela partição na qual fiz
>>>> a primeira instalação do Ubuntu 9.10 - uma partição que uso só para
>>>>
>> teste.
>>
>>>> Já li tudo que encontrei na lista sobre o Grub 2.
>>>>
>>>>
>>>>
>>>> --
>>>> Leonardo Bergamo
>>>> www.leober.rg3.net
>>>>
>>>>
>>>> --
>>>> Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
>>>>
>>>> Lista de discussão Ubuntu Brasil
>>>> Histórico, descadastramento e outras opções:
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>>>>
>>>>
>>>>
>>>
>>>
>>>
>> --
>> Leonardo Bergamo
>> www.leober.rg3.net
>>
>> --
>> Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
>>
>> Lista de discussão Ubuntu Brasil
>> Histórico, descadastramento e outras opções:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>>
>>
>
>
>
>
--
Leonardo Bergamo
www.leober.rg3.net
--
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br