Mudanças entre as edições de "Partições"
De WikiLICC
m (→Cópia do grub.conf) |
m (→Cópia do grub.conf) |
||
Linha 22: | Linha 22: | ||
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 | 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 | initrd /initramfs-2.6.34.7-61.fc13.x86_64.img | ||
+ | |||
+ | ==fdisk== | ||
+ | [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 | ||
=SWAP= | =SWAP= |
Edição das 08h07min de 20 de novembro de 2010
GRUB
Como reinstalar o GRUB:
- http://www.sorgonet.com/linux/grubrestore/
- http://roshan18.wordpress.com/2008/02/03/reinstalling-grub-boot-loader/
Digitando
GRUB> root ( <TAB> hd0, sd0
oferece uma lista de opcões, ou ainda
GRUB> root ( hd0,<TAB> hd0,0 hd0,1 hd0,2
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
fdisk
[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
SWAP
Como consertar a partição swap