Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- subuntu@ubuntu:~$ sudo -i
- root@ubuntu:~# wget -Ochroot.sh http://ompldr.org/vNW8wNw
- --2011-03-26 12:38:36-- http://ompldr.org/vNW8wNw
- Преобразование адреса ompldr.org... 178.63.66.150
- Устанавливается соединение с ompldr.org|178.63.66.150|:80... соединились.
- Запрос HTTP послан, ожидание ответа... 200 OK
- Длина: 1977 (1,9K) [text/x-shellscript]
- Saving to: «chroot.sh»
- 100%[======================================>] 1 977 --.-K/s в 0s
- 2011-03-26 12:38:37 (5,26 MB/s) - «chroot.sh» saved [1977/1977]
- root@ubuntu:~# chmod +x chroot.sh
- root@ubuntu:~# ./chroot.sh /dev/sdb1
- Mounting /dev/sdb1 to /mnt... OK
- Mounting kernel and device filesystems: proc sys dev.
- Copying /etc/resolv.conf.
- Entering chroot.
- --------------------------------------------------------------------------------
- root@ubuntu:/# dpkg-reconfigre grub-pc
- Команда 'dpkg-reconfigre' не найдена, возможно вы имели в виду:
- Команда 'dpkg-reconfigure' из пакета 'debconf' (main)
- dpkg-reconfigre: команда не найдена
- root@ubuntu:/# ^C
- root@ubuntu:/# dpkg-reconfigure grub-pc
- Replacing config file /etc/default/grub with new version
- Installation finished. No error reported.
- Installation finished. No error reported.
- Generating grub.cfg ...
- Found linux image: /boot/vmlinuz-2.6.35-22-generic
- Found initrd image: /boot/initrd.img-2.6.35-22-generic
- Found memtest86+ image: /boot/memtest86+.bin
- Found Microsoft Windows XP Professional RU on /dev/sda1
- done
- root@ubuntu:/#
Advertisement
Add Comment
Please, Sign In to add comment