1. 재부팅
2. 커널 화면 진입(ESC)
3. E 키로 커널 편집
===
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 \
--hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 2341023-1252-2235-1234-2352662331
else
search --no-floppy --fs-uuid --set=root 2341023-1252-2235-1234-2352662331
fi
linux /vmlinuz-3.13.0-40-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash $vt_handoff
initrd /initrd.img-3.13.0-40-generic
===
: quiet splash $vt_handoff를 init=/bin/bash로 변경
4. F10으로 부팅
5. rw 리마운트
# mount -o remount,rw /
6. 작업
7. 완료 후 재부팅
# exec /sbin/init
'Ubuntu' 카테고리의 다른 글
BuyPass SSL 구축 (0) | 2021.01.16 |
---|---|
Zabbix 설치 (0) | 2021.01.14 |
패키지 및 버전 확인법 (0) | 2020.09.27 |