Ubuntu 17.04 obok Win 8.1


(lem.bartosz) #1

Witam.
Moim problemem jest uruchamianie systemów.
Na czystym dysku zainstalowałem ubuntu 17.04. Odzieliłem miejsce i zainstalowałem tam Windowsa 8.1. Teraz nie mogę włączyć Ubuntu. Czy ktos miał może taki problem, albo zna rozwiązanie? Chciałbym ustawić Ubuntu jako domyślny system.


(krystian3w) #2

http://www.ubuntu-pomoc.org/grub-2-naprawa-po-reinstalacji-windowsa/


(lem.bartosz) #3

Tylko że nie mam jak włączyć Linuxa. Mam tylko do dyspozycji Windowsa


(RikoDEV) #4

Zainstaluj windowsa a następnie linuxa.


(lem.bartosz) #5

Nie chcę tracić danych z Ubuntu. Jest może inne rozwiązanie?


(krystian3w) #6

“Można go naprawić za pomocą LiveCD lub bootowalnego pendriva”, więc zrób taki na Windows i działaj :slight_smile:


(lem.bartosz) #7

Spróbuję


(lem.bartosz) #8

Jestem na LIVECD i mam kolejny problem. Bowiem wpisujac fdisk -l wyskakuje mi:
fdisk: cannot open /dev/ram0: Permission denied
fdisk: cannot open /dev/ram1: Permission denied
fdisk: cannot open /dev/ram2: Permission denied
fdisk: cannot open /dev/ram3: Permission denied
fdisk: cannot open /dev/ram4: Permission denied
fdisk: cannot open /dev/ram5: Permission denied
fdisk: cannot open /dev/ram6: Permission denied
fdisk: cannot open /dev/ram7: Permission denied
fdisk: cannot open /dev/ram8: Permission denied
fdisk: cannot open /dev/ram9: Permission denied
fdisk: cannot open /dev/ram10: Permission denied
fdisk: cannot open /dev/ram11: Permission denied
fdisk: cannot open /dev/ram12: Permission denied
fdisk: cannot open /dev/ram13: Permission denied
fdisk: cannot open /dev/ram14: Permission denied
fdisk: cannot open /dev/ram15: Permission denied
fdisk: cannot open /dev/loop0: Permission denied
fdisk: cannot open /dev/sda: Permission denied
fdisk: cannot open /dev/fd0: Permission denied
fdisk: cannot open /dev/sdb: Permission denied

Co mam zrobic?


(lem.bartosz) #9

Z komenda mkdir /mnt/root wyskakuje:
mkdir: cannot create directory ‘/mnt/root’: Permission denied


(RikoDEV) #10

sudo e2fsck -y fdisk -l spróbuj tego


(krystian3w) #11

pierwsze 16 pozycji to jakieś RAM dyski https://askubuntu.com/questions/703576/fdisk-l-shows-16-ram-disks-dev-ram0-ram15 (tu je stworzył Raspbian).

Ciekawy jest brak uprawnień


(lem.bartosz) #12

Udało mi się wykonać tamtą komendę ale nie widzę nic z root


(krystian3w) #13

To może przez gui:

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
https://help.ubuntu.com/community/Boot-Repair - Warning: This software is able to share information about your device for diagnostic purposes. You can chose to opt out in advanced settings. Please read this page fully. The log is quite helpful especially for the novice users.


(lem.bartosz) #14

Mam tylko:

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/loop0: 1.4 GiB, 1497772032 bytes, 2925336 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 /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x572f7f65

Device Boot Start End Sectors Size Id Type
/dev/sda1 2046 136718335 136716290 65.2G 5 Extended
/dev/sda2 332029952 351561727 19531776 9.3G 82 Linux swap / Solaris
/dev/sda3 * 351561728 556361727 204800000 97.7G 7 HPFS/NTFS/exFAT
/dev/sda4 556361728 976773119 420411392 200.5G 83 Linux
/dev/sda5 2048 136718335 136716288 65.2G 83 Linux

Partition 1 does not start on physical sector boundary.
Partition table entries are not in disk order.


(krystian3w) #15

O i jeszcze coś takiego https://askubuntu.com/questions/386752/fixing-corrupt-backup-gpt-table


(lem.bartosz) #18

Udalo sie! Za pomoca boot-repair naprawilem! Dzieki krystian3w!


(krystian3w) #19

OK to sprawdź czy się oba systemy włączają jeszcze po naprawie gruba.