Imhoteph
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
Liebe Foren Gemeinde, ich habe auf meinem Rechner nun Lubuntu 18.04 installiert.
Zusätzlich habe ich noch Windows 10 und Lubuntu 16.04 auf der gleihen Festplatte.
Das Lubuntu 16.04 möchte ich gerne entfernen.
Aber mein eigentliches Problem ist, dass ich noch eine 1TB große Partition für meine Daten habe auf die ich unter Windows 10 und Lubuntu zugreifen möchte. Unter Win10 funktioniert auch alles. In Lubuntu 18.04 kann ich die Daten nur lesen, aber nicht auf die Partition schreiben.
Leider habe ich das Problem (es geht hierbei um sda7) nicht gelöst bekommen.
zum Beispiel:
| sudo mount /dev/sda7 /media/michael/66B0FD152B762258/ -o remount,rw
|
Mir fehlen weiterhin die Schreibrechte. Nun bin ich hingegangen und habe mit gparted die 1TB Partition in zwei kleinere aufgeteilt und die neue ext4 formatiert (sda7 war bisher NTFS formatiert). Aber leider kann ich auch auf die neue Partition keine Schreibrechte.
| mkdir Bilder
mkdir: das Verzeichnis »Bilder“ kann nicht angelegt werden: Keine Berechtigung
|
sudo blkid liefert:
| /dev/sda1: LABEL="System-reserviert" UUID="52DEA5FEDEA5DB0D" TYPE="ntfs" PARTUUID="0005c8ce-01"
/dev/sda2: UUID="CC74B27774B2643C" TYPE="ntfs" PARTUUID="0005c8ce-02"
/dev/sda5: UUID="d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8" TYPE="ext4" PARTUUID="0005c8ce-05"
/dev/sda6: UUID="29be12fa-ca6f-47f2-9aa0-c60310e5426b" TYPE="swap" PARTUUID="0005c8ce-06"
/dev/sda7: UUID="66B0FD152B762258" TYPE="ntfs" PARTUUID="0005c8ce-07"
/dev/sda8: UUID="bbc61aa8-1635-433b-9097-b1b40d98b712" TYPE="ext4" PARTUUID="0005c8ce-08"
/dev/sda9: UUID="1e2e274e-ca62-4962-82ca-618a7f0f3b4a" TYPE="ext4" PARTUUID="0005c8ce-09"
/dev/sdb1: UUID="86946F57946F48AF" TYPE="ntfs" PARTUUID="2e62c8b6-01"
/dev/sdc1: PARTUUID="7ccd4842-01"
|
Und zusätzlich folgende Fragen:
Kann ich die Bezeichnungen der Partitionen eigentlich ändern?
Kann ich die Partition von Lubuntu 16.04 einfach löschen und den Speicher einer anderen zuweisen (z.B. mit geparted)? Danach noch ein Update von grub, damit das aus der Boot Tabelle fliegt und das war es? Ich sage jetzt schon mal Danke für die Hilfe.
|
Dr_Schmoker
Anmeldungsdatum: 19. Juni 2008
Beiträge: 3440
Wohnort: Berlin
|
Hallo, nach der Ausgabe von blkid zu urteilen, ist deine sda7 immer noch mit NTFS formatiert. Wenn du 16.04 entfernen willst, müssen wir erstmal rauskriegen, welche Partition 16.04 benutzt. Dazu musst du einmal 16.04 starten und von 16.04 die → fstab posten. Zusätzlich noch die Ausgaben von sudo parted -l und zur Sicherheit auch noch sudo lsblk -o NAME,UUID,FSTYPE,SIZE,LABEL,MOUNTPOINT
aus dem neuen 18.04.
|
Imhoteph
(Themenstarter)
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
Dr_Schmoker schrieb: Hallo, nach der Ausgabe von blkid zu urteilen, ist deine sda7 immer noch mit NTFS formatiert. Wenn du 16.04 entfernen willst, müssen wir erstmal rauskriegen, welche Partition 16.04 benutzt. Dazu musst du einmal 16.04 starten und von 16.04 die → fstab posten. Zusätzlich noch die Ausgaben von sudo parted -l und zur Sicherheit auch noch sudo lsblk -o NAME,UUID,FSTYPE,SIZE,LABEL,MOUNTPOINT
aus dem neuen 18.04.
Hallo Dr. Schmoker und viele Dank für deine Antworten.
ja sda7 ist weiterhin ntfs formatiert, denn da sind ja noch die Daten drauf. Sorry, das war vielleicht missverständlich ausgedrückt. sda7 war ca. 1TB groß und ich habe die mit gparted soweit verkleinert, dass die Daten weiterhin reinpassen. Der Rest ist nun sda9 und ext4 formatiert.
sda5 müsste die Platte mit 16.04 sein.
aus 18.04: 1
2
3
4
5
6
7
8
9
10
11
12
13 | michael@HP-Compaq-dc7700:~$ sudo lsblk -o NAME,UUID,FSTYPE,SIZE,LABEL,MOUNTPOINT
NAME UUID FSTYPE SIZE LABEL MOUNTPOINT
sda 1,8T
├─sda1 52DEA5FEDEA5DB0D ntfs 549M System-reserviert
├─sda2 CC74B27774B2643C ntfs 243,6G /media/HDDWin10
├─sda5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ext4 249,7G /media/michael/d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda
├─sda6 29be12fa-ca6f-47f2-9aa0-c60310e5426b swap 2G
├─sda7 66B0FD152B762258 ntfs 226,6G /media/michael/66B0FD152B762258
├─sda8 bbc61aa8-1635-433b-9097-b1b40d98b712 ext4 390,6G /
└─sda9 1e2e274e-ca62-4962-82ca-618a7f0f3b4a ext4 750G /media/Datenplatte
sdb 74,5G
└─sdb1 86946F57946F48AF ntfs 74,5G /media/HDDWinXP
sr0 1024M
|
Ich boote gleich noch von 16.04 und poste die Ergebnisse dann hier. EDIT:
fstab von 16.04
1
2
3
4
5
6
7
8
9
10
11
12 | # /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=29be12fa-ca6f-47f2-9aa0-c60310e5426b none swap sw 0 0
/etc/fstab (END)
|
und sudo parted -l von 16.04 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 | kraut@HP-Compaq:~$ sudo parted -l
Modell: ATA WDC WD2003FYYS-0 (scsi)
Festplatte /dev/sda: 2000GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos
Disk-Flags:
Nummer Anfang Ende Größe Typ Dateisystem Flags
1 1049kB 577MB 576MB primary ntfs boot
2 577MB 262GB 262GB primary ntfs
3 262GB 2000GB 1738GB extended
5 262GB 530GB 268GB logical ext4
7 530GB 774GB 243GB logical ntfs
9 774GB 1579GB 805GB logical ext4
8 1579GB 1998GB 419GB logical ext4
6 1998GB 2000GB 2121MB logical linux-swap(v1)
Modell: ATA WDC WD800JD-60LS (scsi)
Festplatte /dev/sdb: 80,0GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos
Disk-Flags:
Nummer Anfang Ende Größe Typ Dateisystem Flags
1 32,3kB 80,0GB 80,0GB primary ntfs boot
|
|
Dr_Schmoker
Anmeldungsdatum: 19. Juni 2008
Beiträge: 3440
Wohnort: Berlin
|
Hallo, du hast editiert statt neu zu posten, egal. Hauptsache, wir kommen voran 😉 Mit deinem Verdacht, das 16.04 auf der sda5 ist, scheinst du Recht zu haben. Die → swap, die du weiter verwenden kannst, befindet sich auf sda6. Bevor du 16.04 löscht, müssen wir noch kurz über → Grub 2 sprechen. Welcher Grub steuert dein System, das ist wichtig, damit du nachher noch ins System kommst. Wenn dir im Grub-Menü Ubuntu 16.04 als Untermenü angezeigt wird, sollte der 18.04 Grub aktiv sein. Poste mal noch cat /boot/grub/grub.cfg
aus dem 18 System
|
Imhoteph
(Themenstarter)
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404 | michael@HP-Compaq-dc7700:~$ cat /boot/grub/grub.cfg
##
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=de_DE
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=10
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 10 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=1
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bbc61aa8-1635-433b-9097-b1b40d98b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
linux /boot/vmlinuz-5.0.0-37-generic root=UUID=bbc61aa8-1635-433b-9097-b1b40d98b712 ro quiet splash $vt_handoff
initrd /boot/initrd.img-5.0.0-37-generic
}
submenu 'Erweiterte Optionen für Ubuntu' $menuentry_id_option 'gnulinux-advanced-bbc61aa8-1635-433b-9097-b1b40d98b712' {
menuentry 'Ubuntu, mit Linux 5.0.0-37-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-37-generic-advanced-bbc61aa8-1635-433b-9097-b1b40d98b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
echo 'Linux 5.0.0-37-generic wird geladen …'
linux /boot/vmlinuz-5.0.0-37-generic root=UUID=bbc61aa8-1635-433b-9097-b1b40d98b712 ro quiet splash $vt_handoff
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-5.0.0-37-generic
}
menuentry 'Ubuntu, mit Linux 5.0.0-37-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-37-generic-recovery-bbc61aa8-1635-433b-9097-b1b40d98b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
echo 'Linux 5.0.0-37-generic wird geladen …'
linux /boot/vmlinuz-5.0.0-37-generic root=UUID=bbc61aa8-1635-433b-9097-b1b40d98b712 ro recovery nomodeset
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-5.0.0-37-generic
}
menuentry 'Ubuntu, mit Linux 5.0.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-23-generic-advanced-bbc61aa8-1635-433b-9097-b1b40d98b712' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
echo 'Linux 5.0.0-23-generic wird geladen …'
linux /boot/vmlinuz-5.0.0-23-generic root=UUID=bbc61aa8-1635-433b-9097-b1b40d98b712 ro quiet splash $vt_handoff
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-5.0.0-23-generic
}
menuentry 'Ubuntu, mit Linux 5.0.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-23-generic-recovery-bbc61aa8-1635-433b-9097-b1b40d98b712' {
recordfail
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
echo 'Linux 5.0.0-23-generic wird geladen …'
linux /boot/vmlinuz-5.0.0-23-generic root=UUID=bbc61aa8-1635-433b-9097-b1b40d98b712 ro recovery nomodeset
echo 'Initiale Ramdisk wird geladen …'
initrd /boot/initrd.img-5.0.0-23-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 bbc61aa8-1635-433b-9097-b1b40d98b712
else
search --no-floppy --fs-uuid --set=root bbc61aa8-1635-433b-9097-b1b40d98b712
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 (auf /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-52DEA5FEDEA5DB0D' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
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 52DEA5FEDEA5DB0D
else
search --no-floppy --fs-uuid --set=root 52DEA5FEDEA5DB0D
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Ubuntu 16.04.6 LTS (16.04) (auf /dev/sda5)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-65-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-65-generic
}
submenu 'Erweiterte Optionen für Ubuntu 16.04.6 LTS (16.04) (auf /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
menuentry 'Ubuntu (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-65-generic--d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-65-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-65-generic
}
menuentry 'Ubuntu, mit Linux 4.15.0-65-generic (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-65-generic--d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-65-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-65-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-65-generic (upstart) (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-65-generic--d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-65-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.15.0-65-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-65-generic (recovery mode) (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-65-generic-root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro recovery nomodeset-d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-65-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro recovery nomodeset
initrd /boot/initrd.img-4.15.0-65-generic
}
menuentry 'Ubuntu, mit Linux 4.15.0-58-generic (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-58-generic--d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-58-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.15.0-58-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-58-generic (upstart) (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-58-generic--d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-58-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro quiet splash $vt_handoff init=/sbin/upstart
initrd /boot/initrd.img-4.15.0-58-generic
}
menuentry 'Ubuntu, with Linux 4.15.0-58-generic (recovery mode) (auf /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-4.15.0-58-generic-root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro recovery nomodeset-d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8' {
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
else
search --no-floppy --fs-uuid --set=root d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8
fi
linux /boot/vmlinuz-4.15.0-58-generic root=UUID=d3f6fb89-3a80-4d6c-a2a1-ecc1ba8efda8 ro recovery nomodeset
initrd /boot/initrd.img-4.15.0-58-generic
}
}
menuentry 'Microsoft Windows XP Professional (auf /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-86946F57946F48AF' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 86946F57946F48AF
else
search --no-floppy --fs-uuid --set=root 86946F57946F48AF
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
set timeout=10
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
|
|
Thomas_Do
Moderator
Anmeldungsdatum: 24. November 2009
Beiträge: 8808
|
Fehlende Schreibrechte bei einem Win-Linux-Dualboot haben oft mit Fastboot zu tun. Stelle sicher, dass Fastboot in Windows und im Bios/UEFI deaktiviert ist.
|
Imhoteph
(Themenstarter)
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
Thomas_Do schrieb: Fehlende Schreibrechte bei einem Win-Linux-Dualboot haben oft mit Fastboot zu tun. Stelle sicher, dass Fastboot in Windows und im Bios/UEFI deaktiviert ist.
Hi Thomas,
danke für den Hinweis. Das hatte ich vergessen zu erwähnen.
Ich habe Windows Schnellestart in Win 10 deaktiviert entsprechend hier: https://forum.ubuntuusers.de/topic/windows-sperrt-festplatte/#post-8787418 Im Bios habe ich aber nichts gemacht. Da muss ich mal nachschauen.
|
Dr_Schmoker
Anmeldungsdatum: 19. Juni 2008
Beiträge: 3440
Wohnort: Berlin
|
Hallo, die Ausgabe von grub hat bestätigt, das unter der Zeile 271 Ubuntu 16.04 in OS Prober gelandet ist. Das bedeutet, das der Grub von 18.04 der führende ist und du die 16.04 Partition löschen kannst. Das geht nur von einem Live-System DVD oder Usb-Stick. Vielleicht postest du noch einen Screenshot von Gparted. Edit: Beim Arbeiten von einem Live-System mit Gparted muss du eventuell die swap auf der Festplatte aushängen, erkennbar am Schlüsselsymbol. Sonst läßt sich die erweiterte Partition nicht aushängen und die sda5 nicht löschen. Edit2: Die Windows-Partitionen nicht mit GParted anfassen. Bei Windows brauchst du die Datenträgerverwaltung von Windows
|
Imhoteph
(Themenstarter)
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
Thomas_Do schrieb: Fehlende Schreibrechte bei einem Win-Linux-Dualboot haben oft mit Fastboot zu tun. Stelle sicher, dass Fastboot in Windows und im Bios/UEFI deaktiviert ist.
Also das scheint nun geklappt zu haben. Daraufhin habe ich meine getrennten Partitionen wieder als ntfs Partition sda7 mit geparted vereint.
Leider führte das dazu, dass Ubuntu nicht mehr startete. Das Dateisystem wurde immer im "nur lesen" Modus, also Schreibgeschützt geladen.
nach etwas Recherche im Netz habe ich dann den Vorschlag gefunden die Platte über die UUID neu zu mounten.
| sudo mount -rw -o remount UUID=XXX
|
dies führte dazu, dass der Ubuntu Anmeldebildschirm sofort erschien und ab da war es dann in Ordnung.
|
Imhoteph
(Themenstarter)
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
Dr_Schmoker schrieb: Hallo, die Ausgabe von grub hat bestätigt, das unter der Zeile 271 Ubuntu 16.04 in OS Prober gelandet ist. Das bedeutet, das der Grub von 18.04 der führende ist und du die 16.04 Partition löschen kannst. Das geht nur von einem Live-System DVD oder Usb-Stick. Vielleicht postest du noch einen Screenshot von Gparted. Edit: Beim Arbeiten von einem Live-System mit Gparted muss du eventuell die swap auf der Festplatte aushängen, erkennbar am Schlüsselsymbol. Sonst läßt sich die erweiterte Partition nicht aushängen und die sda5 nicht löschen. Edit2: Die Windows-Partitionen nicht mit GParted anfassen. Bei Windows brauchst du die Datenträgerverwaltung von Windows
Ich habe in einem Live Lubuntu mit gparted die Partition gelöscht.
Leider führte das dazu, dass sich kein Betriebssystem mehr starten lies und der PC im grub rescue Mode landete.
Danke dem Beitrag hier im Forum https://forum.ubuntuusers.de/topic/grub-rescue-mode-no-such-partition/
konnte ich über
die richtige Partition finden und grub starten.
| set root=(hd0,7)
set prefix=(hd0,7)/boot/grub
insmod normal
insmod linux
normal
|
Danach konnte ich Grub neu anlegen.
| sudo grub-install /dev/sda
sudo update-grub
|
Jetzt funktioniert's wieder. Kann ich die Bezeichnungen der Partitionen anpassen, also dass ich nicht habe
sda1
sda2
sda5
sda6
sda7 sondern fortlaufend nummeriert?
|
Thomas_Do
Moderator
Anmeldungsdatum: 24. November 2009
Beiträge: 8808
|
Imhoteph schrieb: Kann ich die Bezeichnungen der Partitionen anpassen, also dass ich nicht habe
sda1
sda2
sda5
sda6
sda7 sondern fortlaufend nummeriert?
Da gibt es wohl Tools, wie fdisk, die neu nummerieren können. Sollte man m.E. aber lassen, da das sehr leicht zu Problemen inklusive Datenverlust führen kann. Die Nummern sind sowieso eigentlich nicht wichtig. Wie hast Du das ursprüngliche Problem schließlich gelöst?
|
Imhoteph
(Themenstarter)
Anmeldungsdatum: 11. Juni 2011
Beiträge: 114
Wohnort: Schwarzwald
|
Thomas_Do schrieb: Wie hast Du das ursprüngliche Problem schließlich gelöst?
Das ist eine sehr gute Frage 😉
Im Bios habe ich keine wirkliche Einstellung gefunden. Es gab da eine Einstellung, die ich von "schnellem Booten" zu "vollständigem booten" geändert habe. Das hat aber dazu geführt, dass das BIOS ewig langsam gebootet hat und hatte keine Auswirkung darauf, dass die Partitionen nur lesend eingebunden wurden. Daher habe ich das wieder zurück gestellt.
Nach etwas Recherche hatte ich im Internet gelesen, dass Windows 10 beim Herunterfahren IMMER in einen Hybernate Status geht und nur beim Neustarten komplett herunterfährt. Also habe ich neustarten gewählt (dadurch wurde dann vll. zum ersten mal meine neue Einstellung, dass Windows nicht Schnelle Booten soll wirksam) und danach funktionierte es. –> scheint also daran gelegen zu haben.
|
Thomas_Do
Moderator
Anmeldungsdatum: 24. November 2009
Beiträge: 8808
|
|