Partições
De WikiLICC
Particões
[root] # fdisk -l Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 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: 0x3b2b3b2b Device Boot Start End Blocks Id System /dev/sda1 1 6374 51199123+ 83 Linux /dev/sda2 * 30274 30402 1024000 83 Linux /dev/sda3 29637 30274 5120000 82 Linux swap / Solaris
[[sda1 ]..................[sda3 ][sda2 ]] [[Linux]..................[swap ][boot ]]
Para consertar (ou destruir!!!) particão use fsck
GRUB
Para reinstalar o GRUB, digite (veja referências):
GRUB> root ( <TAB> hd0, sd0
oferece uma lista de opcões, ou ainda
GRUB> root ( hd0,<TAB> hd0,0 hd0,1 hd0,2
- http://www.sorgonet.com/linux/grubrestore/
- http://roshan18.wordpress.com/2008/02/03/reinstalling-grub-boot-loader/
- http://www.howtogeek.com/howto/ubuntu/reinstall-ubuntu-grub-bootloader-after-windows-wipes-it-out/
Cópia do grub.conf
default=0 timeout=15 splashimage=(hd0,1)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.34.7-61.fc13.x86_64) in sda1 root (hd0,1) kernel /vmlinuz-2.6.34.7-61.fc13.x86_64 ro root=/dev/sda1 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=br-abnt2 rhgb quiet init=/sbin/bootchartd initrd /initramfs-2.6.34.7-61.fc13.x86_64.img
SWAP
Como consertar a partição swap