Em uma máquina minha aconteceu um deste problemas.O melhor mesmo é instalar na forma tradicional mesmo (partionando disco,configurando passo-a-passo),mas como eu não quero mexer em nada no meu disco por estes dias tive que usar a forma de recuperação do boot usando o Live CD.
https://wiki.ubuntu.com/WubiGuide
Após subir o Ubuntu usando o Live CD faça:
Abra um terminal(command line mode) .
root@ubuntu:/home/ubuntu# fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x8a4615a8
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 3917 31354880 7 HPFS/NTFS
/dev/sda3 3917 11749 62914560 7 HPFS/NTFS
/dev/sda4 11749 19457 61915136 7 HPFS/NTFS
Sei que a partição onde instalei o Wubi no Windows 7 é a /dev/sda3.Lá para o usuário que resolveu dar uma olhada tem os discos virtuais criados pelo Wubi para o seu Ubuntu .
Usando o comando blkid eu consigo mais informações sobre as partições e disco:
root@ubuntu:/home/ubuntu# blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: LABEL="System Reserved" UUID="8A8C6D878C6D6E9F" TYPE="ntfs"
/dev/sda2: UUID="B4DAA353DAA310A2" TYPE="ntfs"
/dev/sda3: LABEL="DATA2" UUID="100AD95B0AD93F02" TYPE="ntfs"
/dev/sda4: LABEL="DATA1" UUID="264038024037D771" TYPE="ntfs"
Também me lembro que a partição que instalei chama-se DATA2 .Partindo desta eu posso inicializar a recuperação:
-- criar um ponto de montagem
root@ubuntu:/home/ubuntu# sudo mkdir /win
-- monta a partição
root@ubuntu:/# sudo mount /dev/sda3 /win
-- mostrandi informações do device
root@ubuntu:/# df -Ph
Filesystem Size Used Avail Use% Mounted on
aufs 1.5G 60M 1.5G 4% /
none 1.5G 280K 1.5G 1% /dev
/dev/sr0 700M 700M 0 100% /cdrom
/dev/loop0 672M 672M 0 100% /rofs
none 1.5G 112K 1.5G 1% /dev/shm
tmpfs 1.5G 24K 1.5G 1% /tmp
none 1.5G 108K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
none 1.5G 0 1.5G 0% /lib/init/rw
/dev/sda3 60G 31G 30G 51% /win
root@ubuntu:/#
-- criando o ponto de montagem do disco virtual do Ubuntu
root@ubuntu:/home/ubuntu# sudo mkdir /vdisk
-- montando o disco virtual
root@ubuntu:/# sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
root@ubuntu:/#
-- executando o utiliátio filesystem check - fsck para procurar possíveis problemas que afetaram o boot:
root@ubuntu:/# sudo fsck /win/ubuntu/disks/root.disk
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/win/ubuntu/disks/root.disk: recovering journal
/win/ubuntu/disks/root.disk contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found. Fix
Inode 1050146 was part of the orphaned inode list. FIXED.
Inode 1077514 was part of the orphaned inode list. FIXED.
Inode 1701061 was part of the orphaned inode list. FIXED.
Inode 1702072 was part of the orphaned inode list. FIXED.
Inode 1702193 was part of the orphaned inode list. FIXED.
Inode 1702199 was part of the orphaned inode list. FIXED.
Inode 1702364 was part of the orphaned inode list. FIXED.
Inode 1702367 was part of the orphaned inode list. FIXED.
Inode 1702426 was part of the orphaned inode list. FIXED.
Inode 1702547 was part of the orphaned inode list. FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -(4447807--4447809) -(4447811--4447818) -(4453421--4453424) -4453429 -4453431
Fix
Inode bitmap differences: -1050146 -1077514 -1701061 -1702072 -1702193 -1702199 -1702364 -1702367 -1702426 -1702547
Fix
/win/ubuntu/disks/root.disk: ***** FILE SYSTEM WAS MODIFIED *****
/win/ubuntu/disks/root.disk: 289154/1905008 files (0.2% non-contiguous), 2919640/7614464 blocks
root@ubuntu:/#
Obs.
As opções de Fix deve ser passada pelo usuário.
-- Verificando novamente o filesystem para ver se a correção foi realmente efetuada .
root@ubuntu:/# sudo fsck /win/ubuntu/disks/root.disk
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/win/ubuntu/disks/root.disk: clean, 289154/1905008 files, 2919640/7614464 blocks
root@ubuntu:/#
Tudo OK,então :
- faça o restart do Ubuntu(up pelo LIve CD).
- Retire o CD,e tecle enter para continaur o processo de restart
- Suba o Ubuntu novamente,sem o Live CD.
É isso!
Abs,
JC
No comments:
Post a Comment