|
Q: How to modify kernel boot-up arguments, to gain root user access?
- Read General Notes
- Boot-up computer
- If GRUB menu is hidden, press 'Esc' to enter the GRUB menu
- If GRUB password is set, press 'p' to unlock the GRUB menu
- Select
Ubuntu, kernel 2.6.10-5-386
- Press 'e' to edit the commands before booting
- Select
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash
- Press 'e' to edit the selected command in the boot sequence
- Add "rw init=/bin/bash" to the end of the arguments
grub edit> kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash rw init=/bin/bash
- Press 'b' to boot
|
|