18301 schrieb:Nochmal Linux ist drauf aber startet nur mit CD. Von der Festplatte bootet er nicht und nein es ist kein Windows mehr drauf
18301 schrieb:keine Installation wegen Windows?
Beitragvon 18301 » 2014-Jan-24, 11:40
Hallo
habe eine neues Laptop mit Windows 7, wenn ich die Linux 13.1 einlege startet der nicht von CD sondern nur Win7.
Im Bios gibt es keine Option mehr wo man CD boot anklicken kann.
Was muss ich da machen?
Gruß Frank
josef-wien schrieb:Bei der Installation findest Du bei der benutzerdefinierten Partitionierung auch die Möglichkeit, eine neue Partitonentabelle zu erstellen. Über das "wo" kann ich Dir keine Auskunft geben.
Mit der GParted-Live-CD kannst Du auch eine neue Partitonentabelle erstellen.
Und im Rettungssystem der DVD geht es nach der Anmeldung als root (ohne Paßwort) mit dem Befehl:
Code:parted /dev/sda mklabel msdos
Nachdem Du nur eine Platte hast, kannst Du keine falsche erwischen, denn alle Daten sind jetzt im Nirwana.
sh bootinfoscript
Dann lies noch einmal meine Beiträge. Das von Dir genannte Skript hilft hier überhaupt nicht.wirrwarr schrieb:Noch immer im Nebel stocher.
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary:
===============================
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99)
Boot sector info: Grub2 (v1.99) is installed in the boot sector of sda2
and looks at sector 9447656 of the same hard drive for
core.img. core.img is at this location and looks in
partition 74 for .
Operating System: Welcome to openSUSE 13.1
"Bottle" - Kernel ().
Boot files: /boot/grub2/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info:
=============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = Sektoren of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 1 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 4,208,639 4,206,592 Swap partition (Linux)
/dev/sda2 4,208,640 46,153,727 41,945,088 EFI System partition/dev/sda3 46,153,728 976,773,119 930,619,392 Data partition (Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 8b8d93ce-0258-4a33-8b1c-3ee23350dc98 swap
/dev/sda2 1281657f-74cc-46a9-858e-7c2b00aa4671 ext4
/dev/sda3 50e362c7-4d46-4515-aebf-d297781f56bc ext4
================================ Mount points:
=================================
Device Mount_Point Type Options
/dev/sda2 / ext4 (rw,relatime,data=ordered)
/dev/sda3 /home ext4 (rw,relatime,data=ordered)
/dev/sdb1 /run/media/hetzer/4B9A-7010 vfat
(rw,nosuid,nodev,noexec,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codep
ge=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount
ro,uhelper=udisks2)
/dev/sdb1 /var/run/media/hetzer/4B9A-7010 vfat
(rw,nosuid,nodev,noexec,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codep
ge=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
========================== sda2/boot/grub2/grub.cfg:
===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
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="${saved_entry}"
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
f i
}
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
f i
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint
baremetal=ahci0,gpt2 --hint='hd0,gpt2' 1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-floppy --fs-uuid --set=root 1281657f-74cc-46a9-858e-7c2b00aa4671
fi
font="/usr/share/grub2/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=de_DEinsmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint
baremetal=ahci0,gpt2 --hint='hd0,gpt2' 1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-floppy --fs-uuid --set=root 1281657f-74cc-46a9-858e-7c2b00aa4671
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 13.1' --class 'opensuse-13-1' --class gnu-linux --class gnu --class
os $menuentry_id_option 'gnulinux-simple-1281657f-74cc-46a9-858e-7c2b00aa4671' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint
ef i=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'
1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-floppy --fs-uuid --set=root
1281657f-74cc-46a9-858e-7c2b00aa4671
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /boot/vmlinuz-3.11.10-7-desktop
root=UUID=1281657f-74cc-46a9-858e-7c2b00aa4671 resume=/dev/disk/by-id/ata
Hitachi_HTS545050A7E380_TM8512ZJ18YSLR-part1 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.10-7-desktop
}
submenu 'Advanced options for openSUSE 13.1' $menuentry_id_option 'gnulinux
advanced-1281657f-74cc-46a9-858e-7c2b00aa4671' {
menuentry 'openSUSE 13.1, with Linux 3.11.10-7-desktop' --class'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.11.10-7-desktop-advanced-1281657f-74cc-46a9-858e-7c2b00aa4671' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-f loppy --fs-uuid --set=root --hint-bios=hd0,gpt2 -
hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'
1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-f loppy --fs-uuid --set=root
1281657f-74cc-46a9-858e-7c2b00aa4671
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /boot/vmlinuz-3.11.10-7-desktop
root=UUID=1281657f-74cc-46a9-858e-7c2b00aa4671 resume=/dev/disk/by-id/ata
Hitachi_HTS545050A7E380_TM8512ZJ18YSLR-part1 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.10-7-desktop
}
menuentry 'openSUSE 13.1, with Linux 3.11.10-7-desktop (recovery mode)' -
class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.11.10-7-desktop-recovery-1281657f-74cc-46a9-858e-7c2b00aa4671' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-f loppy --fs-uuid --set=root --hint-bios=hd0,gpt2 -
hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'
1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-f loppy --fs-uuid --set=root
1281657f-74cc-46a9-858e-7c2b00aa4671
fi
echo 'Loading Linux 3.11.10-7-desktop ...'
linux /boot/vmlinuz-3.11.10-7-desktop
root=UUID=1281657f-74cc-46a9-858e-7c2b00aa4671 showopts apm=off noresume
nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off
processor.max_cstate=1 nomodeset x11failsafe
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.10-7-desktop
}
menuentry 'openSUSE 13.1, with Linux 3.11.6-4-desktop' --class
'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.11.6-4-desktop-advanced-1281657f-74cc-46a9-858e-7c2b00aa4671' {
load_video
set gfxpayload=keep
insmod gzio insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-f loppy --fs-uuid --set=root --hint-bios=hd0,gpt2 -
hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'
1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-f loppy --fs-uuid --set=root
1281657f-74cc-46a9-858e-7c2b00aa4671
fi
echo 'Loading Linux 3.11.6-4-desktop ...'
linux /boot/vmlinuz-3.11.6-4-desktop
root=UUID=1281657f-74cc-46a9-858e-7c2b00aa4671 resume=/dev/disk/by-id/ata
Hitachi_HTS545050A7E380_TM8512ZJ18YSLR-part1 splash=silent quiet showopts
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.6-4-desktop
}
menuentry 'openSUSE 13.1, with Linux 3.11.6-4-desktop (recovery mode)' -
class 'opensuse-13-1' --class gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-3.11.6-4-desktop-recovery-1281657f-74cc-46a9-858e-7c2b00aa4671' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-f loppy --fs-uuid --set=root --hint-bios=hd0,gpt2 -
hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2'
1281657f-74cc-46a9-858e-7c2b00aa4671
else
search --no-f loppy --fs-uuid --set=root
1281657f-74cc-46a9-858e-7c2b00aa4671
fi
echo 'Loading Linux 3.11.6-4-desktop ...'
linux /boot/vmlinuz-3.11.6-4-desktop
root=UUID=1281657f-74cc-46a9-858e-7c2b00aa4671 showopts apm=off noresume
nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off
processor.max_cstate=1 nomodeset x11failsafe
echo 'Loading initial ramdisk ...'
initrd /boot/initrd-3.11.6-4-desktop
}
}
### 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+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/20_ppc_terminfo ###### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This f ile 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 ###
### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
--------------------------------------------------------------------------------
=============================== sda2/etc/fstab:
================================
--------------------------------------------------------------------------------
/dev/disk/by-id/ata-Hitachi_HTS545050A7E380_TM8512ZJ18YSLR-part1 swap
swap defaults 0 0
/dev/disk/by-id/ata-Hitachi_HTS545050A7E380_TM8512ZJ18YSLR-part2 / ext4
acl,user_xattr 1 1
/dev/disk/by-id/ata-Hitachi_HTS545050A7E380_TM8512ZJ18YSLR-part3 /home
ext4 defaults 1 2
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub:
====================
GiB - GB File Fragment(s)
=============================== StdErr Messages:
===============================
cat: /tmp/BootInfo-HlBQY70B/Tmp_Log: Datei oder Verzeichnis nicht gefunden
No volume groups found
mdadm: No arrays found in config file or automatically
Du hast auf deiner FP ein GPT./dev/sda1 * 1 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Bist Du sicher, auch den zweiten meiner drei Befehle vom 6. Februar 2014, 17:10 Uhr, ausgeführt zu haben?18301 schrieb:/dev/sda2 4,208,640 46,153,727 41,945,088 EFI System partition
Aus dem Bild ist das nicht ersichtlich. Aber die Frage wurde spätestens mit http://forum.linux-club.de/viewtopic.php?f=89&t=118853&start=60#p754453 geklärt.wirrwarr schrieb:kannst Du mir bitte sagen, ob das Bild hier http://forum.linux-club.de/posting.php?mode=reply&f=89&t=118853#pr754685 ein GPT oder msdos Partitionsschema ist?
sgdisk /dev/sda --typecode=1:8200
sgdisk /dev/sda --typecode=2:8300
sgdisk /dev/sda --typecode=3:8300
Ja.
sgdisk /dev/sda --typecode=1:8200
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
# sgdisk /dev/sda --typecode=2:8300
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
sgdisk /dev/sda --typecode=3:8300
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Hex code or GUID (L to show codes, Enter = 8300): L
0700 Microsoft basic data 0c01 Microsoft reserved 2700 Windows RE
4200 Windows LDM data 4201 Windows LDM metadata 7501 IBM GPFS
7f00 ChromeOS kernel 7f01 ChromeOS root 7f02 ChromeOS reserved
8200 Linux swap 8300 Linux filesystem 8301 Linux reserved
8e00 Linux LVM a500 FreeBSD disklabel a501 FreeBSD boot
a502 FreeBSD swap a503 FreeBSD UFS a504 FreeBSD ZFS
a505 FreeBSD Vinum/RAID a800 Apple UFS a901 NetBSD swap
a902 NetBSD FFS a903 NetBSD LFS a904 NetBSD concatenated
a905 NetBSD encrypted a906 NetBSD RAID ab00 Apple boot
af00 Apple HFS/HFS+ af01 Apple RAID af02 Apple RAID offline
af03 Apple label af04 AppleTV recovery be00 Solaris boot
bf00 Solaris root bf01 Solaris /usr & Mac Z bf02 Solaris swap
bf03 Solaris backup bf04 Solaris /var bf05 Solaris /home
bf06 Solaris alternate se bf07 Solaris Reserved 1 bf08 Solaris Reserved 2
bf09 Solaris Reserved 3 bf0a Solaris Reserved 4 bf0b Solaris Reserved 5
c001 HP-UX data c002 HP-UX service ef00 EFI System
ef01 MBR partition scheme ef02 BIOS boot partition fd00 Linux RAID
sgdisk /dev/sda --typecode=1:8200
sgdisk /dev/sda --typecode=2:8300
sgdisk /dev/sda --typecode=3:8300
Ist nach dem nächsten Neustart davon noch etwas zu sehen? Steht bei der Abfrage18301 schrieb:Habe es nochmal gemacht.
gdisk -l /dev/sda
Heinz-Peter schrieb:für Leute die es genauer wissen wollen
sgdisk -L
gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.7
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 4FE287A8-D3BB-4714-B4A1-C92252A6EB68
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2029 sectors (1014.5 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 4208639 2.0 GiB 8200 primary
2 4208640 46153727 20.0 GiB 8300 primary
3 46153728 976773119 443.8 GiB 8300 primary
sgdisk -L
0700 Microsoft basic data 0c01 Microsoft reserved 2700 Windows RE
4200 Windows LDM data 4201 Windows LDM metadata 7501 IBM GPFS
7f00 ChromeOS kernel 7f01 ChromeOS root 7f02 ChromeOS reserved
8200 Linux swap 8300 Linux filesystem 8301 Linux reserved
8400 Intel Rapid Start 8e00 Linux LVM a500 FreeBSD disklabel
a501 FreeBSD boot a502 FreeBSD swap a503 FreeBSD UFS
a504 FreeBSD ZFS a505 FreeBSD Vinum/RAID a580 Midnight BSD data
a581 Midnight BSD boot a582 Midnight BSD swap a583 Midnight BSD UFS
a584 Midnight BSD ZFS a585 Midnight BSD Vinum a800 Apple UFS
a901 NetBSD swap a902 NetBSD FFS a903 NetBSD LFS
a904 NetBSD concatenated a905 NetBSD encrypted a906 NetBSD RAID
ab00 Apple boot af00 Apple HFS/HFS+ af01 Apple RAID
af02 Apple RAID offline af03 Apple label af04 AppleTV recovery
af05 Apple Core Storage be00 Solaris boot bf00 Solaris root
bf01 Solaris /usr & Mac Z bf02 Solaris swap bf03 Solaris backup
bf04 Solaris /var bf05 Solaris /home bf06 Solaris alternate se
bf07 Solaris Reserved 1 bf08 Solaris Reserved 2 bf09 Solaris Reserved 3
bf0a Solaris Reserved 4 bf0b Solaris Reserved 5 c001 HP-UX data
c002 HP-UX service ea00 Freedesktop $BOOT eb00 Haiku BFS
ed00 Sony system partitio ef00 EFI System ef01 MBR partition scheme
ef02 BIOS boot partition fb00 VMWare VMFS fb01 VMWare reserved
fc00 VMWare kcore crash p fd00 Linux RAID
ableitet, aber bei dem merkwürdigen BIOS schließe ich nicht aus, daß es ähnlich in die Irre geht. Die gdisk-Aussage18301 schrieb:/dev/sda2 4,208,640 46,153,727 41,945,088 EFI System partition
paßt jedenfalls.18301 schrieb:2 4208640 46153727 20.0 GiB 8300 primary
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
parted -l
grub-mkconfig -o /boot/grub/grub.cfg
If 'grub-mkconfig' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf grub-mkconfig
linux-3bz1:/home/ # grub-install /dev/sda
WARNING! You are trying to invoke the unsupported grub-install script
with a parameter. To really do this, call grub-install.unsupported.
You should rather call "yast2 bootloader" or create configuration files
appropriate for the intended target.
linux-3bz1:/home/ #
parted -l
Model: ATA Hitachi HTS54505 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 2155MB 2154MB linux-swap(v1) primary
2 2155MB 23,6GB 21,5GB ext4 primary legacy_boot
3 23,6GB 500GB 476GB ext4 primary
Warning: Unable to open /dev/sr0 read-write (Das Dateisystem ist nur lesbar).
/dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!
Model: HL-DT-ST DVDRAM GT70N (scsi)
Disk /dev/sr0: 4442MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown