langkah splashimage grub + kasih password grub pada Ubuntu 1

Tempat nongkrong. Diskusi bebas di luar topik.
Post Reply
User avatar
idzot
Contact:

langkah splashimage grub + kasih password grub pada Ubuntu 1

Post 25 May 2011, 07:29

selamat pagi,
teman2 saya masih newbie, mohon bimbingannya.
saya mau tanya cara/langkah splashimage grub + kasih password grub pada Ubuntu 11.04 gimana caranya ya?
thanks


User avatar
thrvers
Contact:

Post 25 May 2011, 14:24

'
dicoba, [soalnya terakhir coba dolo di 8.04 :grin: ]:
$ sudo grub
grub> md5crypt

Password: *************
Encrypted: $1$w7Epf0$vX6rxpozznLAVxZGkcFcs.

grub> quit


masukkan di /boot/grub/grub.cfg, misal begini barisnya:
[spoiler]

Code: Select all

....
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(/dev/sda,msdos5)'
        search --no-floppy --fs-uuid --set=root 36c955c0-1f0e-43ff-8dec-e0aad12c6068
        linux   /vmlinuz-2.6.38-8-generic root=UUID=a59f2444-a829-46e1-94fa-6f6da3a23764 ro   quiet splash vt.handoff=7
        initrd  /initrd.img-2.6.38-8-generic
}
......
setelah dipassword seperti ini [masukkan kode yg telah di encripsi, lihat baris bawah]:

Code: Select all

.....
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(/dev/sda,msdos5)'
        search --no-floppy --fs-uuid --set=root 36c955c0-1f0e-43ff-8dec-e0aad12c6068
        linux   /vmlinuz-2.6.38-8-generic root=UUID=a59f2444-a829-46e1-94fa-6f6da3a23764 ro   quiet splash vt.handoff=7
        initrd  /initrd.img-2.6.38-8-generic
        password --md5 $1$w7Epf0$vX6rxpozznLAVxZGkcFcs.
}
......
[/spoiler]
NB:
ubuntuforums.org/showthread.php?t=7353 - HOWTO Password protect your GRUB entries
ubuntuforums.org/showthread.php?t=1369019 - Grub 2 Password Protection


Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests