Deleted Ubuntu Partition, Grub Error 22

Semua mengenai teknik instalasi Ubuntu termasuk teknik instalasi aplikasinya dan migrasi dari Windows.
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Deleted Ubuntu Partition, Grub Error 22

Postby zitux » 09 Jun 2010, 23:23

dual boot ini kasus na :D
sambil googling klo ada yg bisa bantu :grin:
install lucid di sda2 <--jalan gak ada masalah
selanjutnya install ubuntu 8.10 :grin: coba2 :D di sda8 <---jalan gak ada masalah
otomatis grup ngikut yg 8.10
setelah bosan format tuh patisi masuk lucid format delete dah sda8 nya :grin:

restart.........


Grub Error 22

klo ada yg pernah ngalami share sini ya
tq
User avatar
ninja
Posts: 2260
Joined: 27 Jan 2010, 16:23
Location: Tangerang, Banten, indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby ninja » 09 Jun 2010, 23:33

8.10 sama lucid kan beda grubnya bro...
coba install grubnya lucid :)

sambil nyimak
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby thrvers » 09 Jun 2010, 23:36

'
instalnya lewat mana yah?? kn error

coba repair grub (bukan grub2) barangkali aj bisa :D

cmiiw
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby zitux » 09 Jun 2010, 23:47

cara install grub nya lucid bro ninja ?
cara repair grub bor travers ?
User avatar
juupu
Posts: 14
Joined: 30 May 2010, 07:44
Location: jkt-sel
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby juupu » 09 Jun 2010, 23:50

mungkin bisa dengan live CD.

run terminal trus ketik :

Code: Select all

sudo -i
mount /dev/sda2 /mnt
grub-install --root-directory=/mnt/ /dev/sda
User avatar
ninja
Posts: 2260
Joined: 27 Jan 2010, 16:23
Location: Tangerang, Banten, indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby ninja » 10 Jun 2010, 00:10

thrvers wrote:'
instalnya lewat mana yah?? kn error

coba repair grub (bukan grub2) barangkali aj bisa :D

cmiiw

ngerepairnya gmna bro thrvers? yang 8.10 nya kan udah ke format alias di delete :grin:

coba pake cra bro juupu


CMIIW
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby zitux » 10 Jun 2010, 00:19

Code: Select all

ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# mount /dev/sda2 /mnt
root@ubuntu:~# grub-install --root-directory=/mnt/ /dev/sda
Probing devices to guess BIOS drives. This may take a long time.
Installing GRUB to /dev/sda as (hd0)...
Installation finished. No error reported.
This is the contents of the device map /mnt//boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/sda
(hd1)   /dev/sdb
root@ubuntu:~#

restart
masuk comand line grub
selanjutnya bro juupu ?
User avatar
juupu
Posts: 14
Joined: 30 May 2010, 07:44
Location: jkt-sel
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby juupu » 10 Jun 2010, 00:27

sudah coba restart ?
apakah masih belum bisa masuk ke grub ?

kalo belum bisa coba pake live cd lagi trus cek apakah /dev/sda2 sudah di set active.

contoh:

Code: Select all

stevan@kurogane:~$ sudo fdisk -l
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1127     9052596    7  HPFS/NTFS
/dev/sda2            1128        9729    69095534+   f  W95 Ext'd (LBA)
/dev/sda5            1128        1713     4707013+  83  Linux
/dev/sda6            1714        2234     4184901    7  HPFS/NTFS
/dev/sda7            2235        3509    10241406    b  W95 FAT32
/dev/sda8            3510        8937    43600378+   7  HPFS/NTFS
/dev/sda9            8938        9128     1534176    7  HPFS/NTFS
/dev/sda10  *        9129        9666     4321453+  83  Linux

* = active
User avatar
k4341
Posts: 297
Joined: 23 May 2010, 02:35
Location: Cirebon
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby k4341 » 10 Jun 2010, 00:45

kalau masih belum bisa install grub coba kesini http://ubuntu-indonesia.com/forums/ubbt ... #Post24400
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby zitux » 10 Jun 2010, 00:52

Code: Select all

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 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: 0x000b463f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         510     4096543+  82  Linux swap / Solaris
/dev/sda2   *         511        5704    41720805   83  Linux
/dev/sda3            5705       31200   204796620    5  Extended
/dev/sda5            5705        8254    20482843+  83  Linux
/dev/sda6            8255       11441    25599546   83  Linux
/dev/sda7           11442       12078     5116671   83  Linux
/dev/sda8           12079       24826   102398278+  83  Linux

Disk /dev/sdb: 3997 MB, 3997138944 bytes
123 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7626 * 512 = 3904512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008248f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1023     3900668    c  W95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
     phys=(1023, 122, 62) logical=(1022, 122, 62)
ubuntu@ubuntu:~$

seprtinya sda2 sudah aktiv

cara bro kabai sudah saya coba
dari sini
User avatar
juupu
Posts: 14
Joined: 30 May 2010, 07:44
Location: jkt-sel
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby juupu » 10 Jun 2010, 01:05

kalo dari link nya bro k4341 untuk yang grub2 brarti di sini

search yang : METHOD 3 - CHROOT

kayaknya ada yang miss di setting /boot/grub/grub.cfg , mirip kayak punyaku kemarin.

coba aja cara yang di link diatas. Dia bakal nulis grub.cfg baru
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby zitux » 10 Jun 2010, 01:21

coba install grub2
Attachments
Screenshot-1.png
Screenshot-1.png (85.39 KiB) Viewed 679 times
User avatar
juupu
Posts: 14
Joined: 30 May 2010, 07:44
Location: jkt-sel
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby juupu » 10 Jun 2010, 01:29

lo ? g perlu diinstall bro.
kan udah ada install an grub2 nya di sda2.
tinggal restore aja, tulis ulang di mbr.
User avatar
juupu
Posts: 14
Joined: 30 May 2010, 07:44
Location: jkt-sel
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby juupu » 10 Jun 2010, 01:40

lengkapnya mungkin kayak gni bro:

run live cd, trus jalanin terminal

Code: Select all

sudo mount /dev/sda2 /mnt
sudo mount --bind /dev  /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys  /mnt/sys
sudo chroot /mnt
update-grub
grub-install /dev/sda

sudo grub-install --recheck /dev/sda
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt/sys
sudo umount /mnt/usr
sudo umount /mnt

reboot


met berjuang bro...ane tunggu kabar baeknya ntar siang.
ngorok dlu....
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby zitux » 10 Jun 2010, 01:52

Code: Select all

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
ubuntu@ubuntu:~$ sudo mount --bind /dev  /mnt/dev
ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
ubuntu@ubuntu:~$ sudo mount --bind /sys  /mnt/sys
ubuntu@ubuntu:~$ sudo chroot /mnt
root@ubuntu:/# update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found memtest86+ image: /boot/memtest86+.bin
ls: cannot access /casper-rw-backing: No such file or directory
ls: cannot access /casper-rw-backing: No such file or directory
ls: cannot access /casper-rw-backing: No such file or directory
ls: cannot access /casper-rw-backing: No such file or directory
ls: cannot access /casper-rw-backing: No such file or directory
ls: cannot access /casper-rw-backing: No such file or directory
done
root@ubuntu:/# grub-install /dev/sda
Installation finished. No error reported.
root@ubuntu:/# sudo grub-install --recheck /dev/sda
sudo: unable to resolve host ubuntu
Installation finished. No error reported.
root@ubuntu:/# sudo umount /mnt/dev
sudo: unable to resolve host ubuntu
umount: /mnt/dev: not found
root@ubuntu:/# sudo umount /mnt/proc
sudo: unable to resolve host ubuntu
umount: /mnt/proc: not found
root@ubuntu:/# sudo umount /mnt/sys
sudo: unable to resolve host ubuntu
umount: /mnt/sys: not found
root@ubuntu:/# sudo umount /mnt/usr
sudo: unable to resolve host ubuntu
umount: /mnt/usr: not found
root@ubuntu:/# sudo umount /mnt
sudo: unable to resolve host ubuntu
umount: /mnt: not mounted
root@ubuntu:/#


[size:20pt]soLved[/size]
Dah bisa kembali ke lucid ane :grin:
tanpa harus install ulang :D

terima kasih buat bro jupuu dan kabai :grin:
User avatar
Epul
Posts: 1095
Joined: 20 Feb 2010, 07:51
Location: sumenep madura
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby Epul » 10 Jun 2010, 11:06

wow... nih lebih canggih lagi... ijin ctrl + S gan...
User avatar
metabee
Posts: 11
Joined: 27 May 2010, 06:37

Re: Deleted Ubuntu Partition, Grub Error 22

Postby metabee » 10 Jun 2010, 16:58

mampir ke thred ane donk.........http://ubuntu-indonesia.com/forums/ubbthreads.php/topics/25312/help_Grub_Error_15#Post25312
Plese help me ( about GRUB error 15)
User avatar
rubikcube
Posts: 130
Joined: 07 Aug 2010, 10:09
Location: Samarinda, Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby rubikcube » 23 Aug 2010, 08:58

juupu wrote:mungkin bisa dengan live CD.

run terminal trus ketik :

Code: Select all

sudo -i
mount /dev/sda2 /mnt
grub-install --root-directory=/mnt/ /dev/sda
thanks bro, ubuntu ane kembali lagi :D
User avatar
Gunjackson
Posts: 48
Joined: 16 Sep 2010, 16:28
Location: Pontianak, Indonesia
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby Gunjackson » 12 Jan 2011, 01:32

Mantap Nih . . .

Izin ctrl+D dlu . . .
wkwkwk . . .
User avatar
tutnut
Posts: 483
Joined: 02 Jul 2010, 22:05
Location: denpasar
Contact:

Re: Deleted Ubuntu Partition, Grub Error 22

Postby tutnut » 12 Jan 2011, 07:30

mantapp , minta ijin copy

Return to “Instalasi Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest