lubuntu@lubuntu:~$ sudo su
root@lubuntu:/home/lubuntu# cd
root@lubuntu:~# mount /dev/sda1 /mnt
root@lubuntu:~# cp /etc/resolv.conf /mnt/etc/resolv.conf
root@lubuntu:~# mount --bind /dev /mnt/dev
root@lubuntu:~# mount --bind /proc /mnt/proc
root@lubuntu:~# mount --bind /sys /mnt/sys
root@lubuntu:~# chroot /mnt
root@lubuntu:/# apt-get update
Ign http://extras.ubuntu.com trusty InRelease
Get:1 http://extras.ubuntu.com trusty Release.gpg [72 B]
Ign http://security.ubuntu.com trusty-security InRelease
Get:2 http://extras.ubuntu.com trusty Release [11.9 kB]
...
Get:8 http://security.ubuntu.com trusty-security/main Sources [57.2 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:9 http://security.ubuntu.com trusty-security/restricted Sources [2,057 B]
....
Ign http://ru.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 30.2 MB in 26s (1,153 kB/s)
Reading package lists... Done
root@lubuntu:/# apt-get install grub-legacy
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grub-legacy is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
grub-coreboot:i386 grub2-common:i386 grub-pc:i386 grub-ieee1275:i386
grub-efi-ia32:i386 grub-efi-amd64:i386 grub-coreboot grub2-common grub-pc
grub-ieee1275 grub-efi-ia32 grub-efi-amd64
E: Package 'grub-legacy' has no installation candidate
root@lubuntu:/# apt-get install grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
grub2
0 upgraded, 1 newly installed, 0 to remove and 211 not upgraded.
Need to get 2,548 B of archives.
After this operation, 32.8 kB of additional disk space will be used.
Get:1 http://ru.archive.ubuntu.com/ubuntu/ trusty-updates/universe grub2 amd64 2.02~beta2-9ubuntu1 [2,548 B]
Fetched 2,548 B in 0s (35.6 kB/s)
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
Selecting previously unselected package grub2.
(Reading database ... 105344 files and directories currently installed.)
Preparing to unpack .../grub2_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub2 (2.02~beta2-9ubuntu1) ...
Setting up grub2 (2.02~beta2-9ubuntu1) ...
root@lubuntu:/# update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-3.13.0-32-generic
Found initrd image: /boot/initrd.img-3.13.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
[code]
Пользователь решил продолжить мысль 23 Декабря 2014, 21:40:41:
Все также как в ответе №18
Пользователь решил продолжить мысль 23 Декабря 2014, 21:54:43:
Может попробовать снести grub2 и поставить grab-legacy?
Пользователь решил продолжить мысль 23 Декабря 2014, 22:03:48:
Попытался снести grub2 и поставить просто grub. Все равно грузится grub2!
Пользователь решил продолжить мысль 23 Декабря 2014, 22:11:25:
root@lubuntu:~# fdisk -l
Disk /dev/sda: 2077 MB, 2077229056 bytes
64 heads, 62 sectors/track, 1022 cylinders, total 4057088 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000052c8
Device Boot Start End Blocks Id System
/dev/sda1 * 62 4055295 2027617 c W95 FAT32 (LBA)
Disk /dev/sdb: 16.0 GB, 16013942784 bytes
255 heads, 63 sectors/track, 1946 cylinders, total 31277232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009d59a
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 27198044 13598991 83 Linux
/dev/sdb2 27198045 31262489 2032222+ 5 Extended
/dev/sdb5 27198108 31262489 2032191 82 Linux swap / Solaris
Пользователь решил продолжить мысль 23 Декабря 2014, 22:15:23:
Хочу отметить то, что тут изменились данные из ответа №12
Пользователь решил продолжить мысль 23 Декабря 2014, 22:16:23:
Есть ли способ снести все и начать все с чистого листа\диска?