[help] Grub Error 15...............

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
Post Reply
User avatar
metabee

[help] Grub Error 15...............

Post 10 Jun 2010, 14:05

Saya sudah install ubuntu server 10.04...
tapi pada saat instalasi ada pesan error ( saya lupa ,tapi kalo ga salah pada saat tahap instalasi GRUB ).................
nah setelah saya finising juga ada pesan Error kurang lebih kalo diartikan ke bahasa Indonesia : system tidak akan bisa boot karena GRUB tidak di Install

Nah pas booting mau masuk system( setelah instalasi uda kelar)........Eh memang muncul tuh ......GRUB error 15

Nah saya mau baikin lagi GRUBnya..........Pake live cd ubuntu 9.10 desktop

setelah googling saya menemukan cara baikin GRUB
Saya ikuti langkah-langkahnya satu per satu

tapi pada saat ketik chroot /mnt/ /bin/bash
eh.. malah muncul error...bash: groups: command not found
nih tampilan Command line saya ( saya copas)
Installing GRUB
[spoiler]root@ubuntu:~# apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
grub-doc mdadm
The following packages will be REMOVED:
grub-pc
The following NEW packages will be installed:
grub
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 407kB of archives.
After this operation, 807kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com karmic/main grub 0.97-29ubuntu59 [407kB]
Fetched 407kB in 22s (18.1kB/s)
Preconfiguring packages ...
(Reading database ... 120318 files and directories currently installed.)
Removing grub-pc ...
Processing triggers for man-db ...
Selecting previously deselected package grub.
(Reading database ... 120136 files and directories currently installed.)
Unpacking grub (from .../grub_0.97-29ubuntu59_i386.deb) ...
Processing triggers for man-db ...
Setting up grub (0.97-29ubuntu59) ...

root@ubuntu:~# grub[/spoiler]
Mencoba toutorialnya yang ada di sini
[spoiler]root@ubuntu:~# fdisk -l

Disk /dev/sda: 10.3 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000380fa

Device Boot Start End Blocks Id System
/dev/sda1 * 1 122 979933+ 83 Linux
/dev/sda2 123 389 2144677+ 83 Linux
/dev/sda3 390 1247 6891854+ 5 Extended
/dev/sda5 390 511 979933+ 83 Linux
/dev/sda6 512 633 979933+ 83 Linux
/dev/sda7 634 755 979933+ 82 Linux swap / Solaris
/dev/sda8 756 877 979933+ 83 Linux
/dev/sda9 878 999 979933+ 83 Linux
/dev/sda10 1000 1121 979933+ 83 Linux
/dev/sda11 1122 1247 1012063+ b W95 FAT32

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe534e534

Device Boot Start End Blocks Id System
/dev/sdb2 * 2 9729 78140160 f W95 Ext'd (LBA)
/dev/sdb5 2 5990 48106611 7 HPFS/NTFS
/dev/sdb6 5991 9729 30033486 7 HPFS/NTFS
root@ubuntu:~# mount -t ext4 /dev/sda2 /mnt/
root@ubuntu:~# mount -t proc proc /mnt/proc/
root@ubuntu:~# mount -t sysfs sys /mnt/sys/
root@ubuntu:~# mount -o bind /dev/ /mnt/dev/
root@ubuntu:~# chroot /mnt/ /bin/bash
bash: groups: command not found
root@ubuntu:/# sudo chroot /mnt/ /bin/bash
bash: sudo: command not found
root@ubuntu:/# sudo chroot /mnt/ /bin/bash/
bash: sudo: command not found
root@ubuntu:/# ^C
root@ubuntu:/#[/spoiler]

Tolong ya mas........Bantu saya.........
I loveImageImageImageImageImage


User avatar
juupu
Contact:

Post 10 Jun 2010, 17:21

coba pake ini di terminal waktu boot pake' Live CD:

Code: Select all

sudo mount /dev/sda1 /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



User avatar
metabee

Post 10 Jun 2010, 17:51

juupu wrote:coba pake ini di terminal waktu boot pake' Live CD:

Code: Select all

sudo mount /dev/sda1 /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

oke deh ta' coba dulu ya.......
Thx


User avatar
metabee

Post 10 Jun 2010, 18:18

juupu wrote:coba pake ini di terminal waktu boot pake' Live CD:

[spoiler]sudo mount /dev/sda1 /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[/spoiler]
kok muncul error ya bro

Code: Select all

ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# fdisk -l

Disk /dev/sda: 10.3 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000380fa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         122      979933+  83  Linux
/dev/sda2             123         389     2144677+  83  Linux
/dev/sda3             390        1247     6891854+   5  Extended
/dev/sda5             390         511      979933+  83  Linux
/dev/sda6             512         633      979933+  83  Linux
/dev/sda7             634         755      979933+  82  Linux swap / Solaris
/dev/sda8             756         877      979933+  83  Linux
/dev/sda9             878         999      979933+  83  Linux
/dev/sda10           1000        1121      979933+  83  Linux
/dev/sda11           1122        1247     1012063+   b  W95 FAT32

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe534e534

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb2   *           2        9729    78140160    f  W95 Ext'd (LBA)
/dev/sdb5               2        5990    48106611    7  HPFS/NTFS
/dev/sdb6            5991        9729    30033486    7  HPFS/NTFS
root@ubuntu:~# mount /dev/sda1 /mnt/
root@ubuntu:~# mount --bind /dev /mnt/dev
mount: mount point /mnt/dev does not exist
root@ubuntu:~# mount --bind /dev /mnt/dev
saya belum install GRUBnya ngaruh ga ya?
Gimana selanjutnya nih......
tolong ya bro, sebenarnya sih bisa aja klo diinstall ulang lagi tapi repot bro..... klo ada jalan pintas dengan memperbaiki Grubnya kan lebih sakti bro.....hehehehe :grin::grin::grin::grin::grin::grin:


User avatar
juupu
Contact:

Post 10 Jun 2010, 20:00

coba setelah di-mount (mount /dev/sda1 /mnt)
dicek di /mnt (cd /mnt;ls)
apakah disitu ada folder2 seperti contoh ini :

Code: Select all

van@kurogane:/$ ls -a
.    boot   etc         initrd.img.old  media  proc  selinux  tmp  vmlinuz
..   cdrom  home        lib             mnt    root  srv      usr  vmlinuz.old
bin  dev    initrd.img  lost+found      opt    sbin  sys      var
kalau tidak ada berarti sda1 bukan partisi dimana ubuntu ter-install.
tetapi kalau lihat hasil fdisk -l nya harusnya sda1 itu linux, sdb2 windows


User avatar
k4341
Contact:

Post 10 Jun 2010, 22:03

metabee wrote: [spoiler]
Suggested packages:
grub-doc mdadm
The following packages will be REMOVED:
grub-pc
The following NEW packages will be installed:
grub
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 407kB of archives.
Broo inikan berarti downgrade ya..?


User avatar
thrvers
Contact:

Post 10 Jun 2010, 22:18

'
iya itu downgrade ke grub (buat jaunty ke bawah -umumnya-)
buat karmic & lucid = grub-pc (alias grub2)

cmiiw


User avatar
juupu
Contact:

Post 10 Jun 2010, 22:24

walah, ya berarti pake' ubuntu 8.04 aja buat restorenya.


User avatar
metabee

Post 10 Jun 2010, 22:45

juupu wrote:coba setelah di-mount (mount /dev/sda1 /mnt)
dicek di /mnt (cd /mnt;ls)
apakah disitu ada folder2 seperti contoh ini :

Code: Select all

van@kurogane:/$ ls -a
.    boot   etc         initrd.img.old  media  proc  selinux  tmp  vmlinuz
..   cdrom  home        lib             mnt    root  srv      usr  vmlinuz.old
bin  dev    initrd.img  lost+found      opt    sbin  sys      var
kalau tidak ada berarti sda1 bukan partisi dimana ubuntu ter-install.
tetapi kalau lihat hasil fdisk -l nya harusnya sda1 itu linux, sdb2 windows
ga sama Mas isinya...
Nih hasilnya

Code: Select all

root@ubuntu:~# fdisk -l

Disk /dev/sda: 10.3 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000380fa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         122      979933+  83  Linux
/dev/sda2             123         389     2144677+  83  Linux
/dev/sda3             390        1247     6891854+   5  Extended
/dev/sda5             390         511      979933+  83  Linux
/dev/sda6             512         633      979933+  83  Linux
/dev/sda7             634         755      979933+  82  Linux swap / Solaris
/dev/sda8             756         877      979933+  83  Linux
/dev/sda9             878         999      979933+  83  Linux
/dev/sda10           1000        1121      979933+  83  Linux
/dev/sda11           1122        1247     1012063+   b  W95 FAT32

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe534e534

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb2   *           2        9729    78140160    f  W95 Ext'd (LBA)
/dev/sdb5               2        5990    48106611    7  HPFS/NTFS
/dev/sdb6            5991        9729    30033486    7  HPFS/NTFS
root@ubuntu:~# mount /dev/sda1 /mnt/
root@ubuntu:~# cd /mnt
root@ubuntu:/mnt# ls
abi-2.6.32-21-generic-pae         memtest86+.bin
config-2.6.32-21-generic-pae      System.map-2.6.32-21-generic-pae
initrd.img-2.6.32-21-generic-pae  vmcoreinfo-2.6.32-21-generic-pae
lost+found                        vmlinuz-2.6.32-21-generic-pae
root@ubuntu:/mnt# ls -a
.                                 lost+found
..                                memtest86+.bin
abi-2.6.32-21-generic-pae         System.map-2.6.32-21-generic-pae
config-2.6.32-21-generic-pae      vmcoreinfo-2.6.32-21-generic-pae
initrd.img-2.6.32-21-generic-pae  vmlinuz-2.6.32-21-generic-pae
root@ubuntu:/mnt# 
Jadi gimana nih Mas, apakah saya harus mount satu-satu mulai dari sda1 s/d sda11 lalu saya cek di /mnt.....??
Mohon panduannya Mas! :blush:


User avatar
metabee

Post 11 Jun 2010, 07:10

percobaan hari kedua:

Code: Select all

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:e0:4d:50:a2:18  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:23 Base address:0xc000 

eth1      Link encap:Ethernet  HWaddr 00:24:01:d2:28:96  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:1ff:fed2:2896/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14 errors:0 dropped:0 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1924 (1.9 KB)  TX bytes:5285 (5.2 KB)
          Interrupt:17 Base address:0x9c00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@ubuntu:~# apt-get update
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/main Translation-en_US
Ign cdrom://Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5) karmic/restricted Translation-en_US
Hit http://archive.ubuntu.com karmic Release.gpg                               
Ign http://archive.ubuntu.com karmic/main Translation-en_US                  
Ign http://archive.ubuntu.com karmic/restricted Translation-en_US            
Get:1 http://archive.ubuntu.com karmic-updates Release.gpg [189B]            
Ign http://archive.ubuntu.com karmic-updates/main Translation-en_US          
Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_US    
Hit http://archive.ubuntu.com karmic Release                                 
Get:2 http://archive.ubuntu.com karmic-updates Release [44.1kB]                
Get:3 http://security.ubuntu.com karmic-security Release.gpg [189B]            
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Hit http://archive.ubuntu.com karmic/main Packages                    
Hit http://archive.ubuntu.com karmic/restricted Packages                       
Hit http://archive.ubuntu.com karmic/main Sources                              
Hit http://archive.ubuntu.com karmic/restricted Sources                        
Get:4 http://archive.ubuntu.com karmic-updates/main Packages [225kB]           
Get:5 http://security.ubuntu.com karmic-security Release [44.1kB]              
Get:6 http://security.ubuntu.com karmic-security/main Packages [104kB]         
Get:7 http://archive.ubuntu.com karmic-updates/restricted Packages [14B]       
Get:8 http://archive.ubuntu.com karmic-updates/main Sources [64.4kB]           
Get:9 http://security.ubuntu.com karmic-security/restricted Packages [14B]     
Get:10 http://security.ubuntu.com karmic-security/main Sources [30.3kB]        
Get:11 http://archive.ubuntu.com karmic-updates/restricted Sources [14B]       
Get:12 http://security.ubuntu.com karmic-security/restricted Sources [14B]     
Fetched 512kB in 20s (25.5kB/s)                                                
Reading package lists... Done
root@ubuntu:~# grep | grub
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
The program 'grub' is currently not installed.  You can install it by typing:
apt-get install grub
grub: command not found
root@ubuntu:~# fdisk -l

Disk /dev/sda: 10.3 GB, 10262568960 bytes
255 heads, 63 sectors/track, 1247 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000380fa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         122      979933+  83  Linux
/dev/sda2             123         389     2144677+  83  Linux
/dev/sda3             390        1247     6891854+   5  Extended
/dev/sda5             390         511      979933+  83  Linux
/dev/sda6             512         633      979933+  83  Linux
/dev/sda7             634         755      979933+  82  Linux swap / Solaris
/dev/sda8             756         877      979933+  83  Linux
/dev/sda9             878         999      979933+  83  Linux
/dev/sda10           1000        1121      979933+  83  Linux
/dev/sda11           1122        1247     1012063+   b  W95 FAT32

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe534e534

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb2   *           2        9729    78140160    f  W95 Ext'd (LBA)
/dev/sdb5               2        5990    48106611    7  HPFS/NTFS
/dev/sdb6            5991        9729    30033486    7  HPFS/NTFS
root@ubuntu:~# ls
root@ubuntu:~# cd /
root@ubuntu:/# ls
bin   cdrom  etc   initrd.img  media  opt   rofs  sbin     srv  tmp  var
boot  dev    home  lib         mnt    proc  root  selinux  sys  usr  vmlinuz
root@ubuntu:/# cd boot/
root@ubuntu:/boot# ls
abi-2.6.31-14-generic     grub            System.map-2.6.31-14-generic
config-2.6.31-14-generic  memtest86+.bin  vmcoreinfo-2.6.31-14-generic
root@ubuntu:/boot# cd /
root@ubuntu:/# ls
bin   cdrom  etc   initrd.img  media  opt   rofs  sbin     srv  tmp  var
boot  dev    home  lib         mnt    proc  root  selinux  sys  usr  vmlinuz
root@ubuntu:/# cd mnt/
root@ubuntu:/mnt# ls
root@ubuntu:/mnt# cd /
root@ubuntu:/# mount /dev/sda1 /mnt/
root@ubuntu:/# cd mnt/
root@ubuntu:/mnt# ls
abi-2.6.32-21-generic-pae         memtest86+.bin
config-2.6.32-21-generic-pae      System.map-2.6.32-21-generic-pae
initrd.img-2.6.32-21-generic-pae  vmcoreinfo-2.6.32-21-generic-pae
lost+found                        vmlinuz-2.6.32-21-generic-pae
root@ubuntu:/mnt# cd/
-bash: cd/: No such file or directory
root@ubuntu:/mnt# cd /
root@ubuntu:/# umount /dev/sd
sda    sda10  sda2   sda5   sda7   sda9   sdb2   sdb6   
sda1   sda11  sda3   sda6   sda8   sdb    sdb5   
root@ubuntu:/# umount /dev/sda1
root@ubuntu:/# cd mnt/
root@ubuntu:/mnt# ls
root@ubuntu:/mnt# cd /
root@ubuntu:/# mount /dev/sda2 /mnt/
root@ubuntu:/# cd mnt/
root@ubuntu:/mnt# ls
bin    dev   initrd.img  media  proc  sd6      srv  usr
boot   etc   lib         mnt    root  sda5     sys  var
cdrom  home  lost+found  opt    sbin  selinux  tmp  vmlinuz
root@ubuntu:/mnt# cd boot/
root@ubuntu:/mnt/boot# ls
root@ubuntu:/mnt/boot# cd mn
-bash: cd: mn: No such file or directory
root@ubuntu:/mnt/boot# cd ..
root@ubuntu:/mnt# cd mnt/
root@ubuntu:/mnt/mnt# ls
root@ubuntu:/mnt/mnt# cd ..
root@ubuntu:/mnt# pwd
/mnt
root@ubuntu:/mnt# mount --bind /dev /mnt/dev
root@ubuntu:/mnt# mount --bind /proc /mnt/proc
root@ubuntu:/mnt# mount --bind /sys /mnt/sys
root@ubuntu:/mnt# chroot /mnt
bash: groups: command not found
root@ubuntu:/# /mnt/
bash: /mnt/: is a directory
root@ubuntu:/# cd /mnt/
root@ubuntu:/mnt# update-grub
bash: update-grub: command not found
root@ubuntu:/mnt# grub-install /dev/sda
bash: grub-install: command not found
root@ubuntu:/mnt# apt-get install grub
bash: apt-get: command not found
root@ubuntu:/mnt# apt-get install grub
bash: apt-get: command not found
root@ubuntu:/mnt#
aduh bingung Image masih belum bisa juga......malahan ga bisa install GRUBnya...
Please. some body help me!!!!!! Image


User avatar
c0jack
Contact:

Post 11 Jun 2010, 11:24

boot dari cd instalasi, pilih opsi resque a broken system, pilih reinstall grub.


regards,
c0jack


User avatar
metabee

Post 15 Jun 2010, 12:36

c0jack wrote:boot dari cd instalasi, pilih opsi resque a broken system, pilih reinstall grub.


regards,
c0jack
ok deh Mas ...... Nanti ta' coba dulu Ya....


Post Reply

Who is online

Users browsing this forum: No registered users and 109 guests