Portál AbcLinuxu, 10. května 2025 08:08
update-bootloader called: /sbin/update-bootloader --refresh 2007-12-15 14:36:52 ERROR: Bootloader::Library::SetLoaderType: Initializing for unknown bootloader 2007-12-15 14:36:52 ERROR: Bootloader::Core::ListFiles: Running generic function, it should never be called 2007-12-15 14:36:52 ERROR: Bootloader::Core::ParseLines: Running generic function, it should never be called update-bootloader called: /sbin/update-bootloader --refresh 2007-12-15 15:15:04 MILESTONE: GRUB::new: Created GRUB instance 2007-12-15 15:15:04 MILESTONE: GRUB::Parselines: input from menu.lst : '# Modified by YaST2. Last modification on So pro 15 14:36:53 UTC 2007' ' default 0' ' timeout 8' ' gfxmenu (hd0,1)/boot/message' ' ##YaST - activate' ' ' ' ###Don't change this comment - YaST2 identifier: Original name: linux###' ' title openSUSE 10.3' ' root (hd0,1)' ' kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_ST960822A_3LF2F798-part2 vga=0x317 resume=/dev/sda1 splash=silent showopts' ' initrd /boot/initrd-2.6.22.5-31-default' ' ' ' ###Don't change this comment - YaST2 identifier: Original name: failsafe###' ' title Failsafe' ' root (hd0,1)' ' kernel /boot/vmlinuz-2.6.22.5-31-default root=/dev/disk/by-id/scsi-SATA_ST960822A_3LF2F798-part2 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3' ' initrd /boot/initrd-2.6.22.5-31-default' 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated (hd0,1) to /dev/sda2 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: /boot/vmlinuz-2.6.22.5-31-default 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated (hd0,1) to /dev/sda2 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: /boot/initrd-2.6.22.5-31-default 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated (hd0,1) to /dev/sda2 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: /boot/vmlinuz-2.6.22.5-31-default 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated (hd0,1) to /dev/sda2 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: /boot/initrd-2.6.22.5-31-default 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated (hd0,1) to /dev/sda2 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: /boot/message 2007-12-15 15:15:04 MILESTONE: GRUB::Parselines: input from /etc/grub.conf : 'setup --stage2=/boot/grub/stage2 (hd0,1) (hd0,1)' ' quit' 2007-12-15 15:15:04 MILESTONE: GRUB::Parselines: global boot setting already found: 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated (hd0,1) to /dev/sda2 2007-12-15 15:15:04 MILESTONE: Core::RealFileName: resolve_symlinks: 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: /boot 2007-12-15 15:15:04 MILESTONE: Core::RealFileName: resolve_symlinks: 2007-12-15 15:15:04 MILESTONE: Core::CanonicalPath: ret path: / 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: udevinfo returned: /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::GrubDev2UnixDev: Translated GRUB->UNIX: (hd0) to /dev/sda 2007-12-15 15:15:04 MILESTONE: GRUB::Parselines: checking boot device /dev/sda2 2007-12-15 15:15:04 MILESTONE: GRUB::Parselines: set boot_customPotom jsem jeste znovu instaloval grub:
grub-install /dev/sda2 GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> setup --stage2=/boot/grub/stage2 (hd0,1) (hd0,1) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal) Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal) Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0,1) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded Done. grub> quitBohuzel se nezmenilo vubec nic, system z disku porad nebootuje. Jeste prikladam vypis rozdeleni, ktere vytvoril automaticky Yast.
Disk /dev/sda: 60.0 GB, 60011642880 bytes 255 heads, 63 sectors/track, 7296 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00069d5a Device Boot Start End Blocks Id System /dev/sda1 1 76 610438+ 82 Linux swap / Solaris /dev/sda2 * 77 2687 20972857+ 83 Linux /dev/sda3 2688 7296 37021792+ 83 Linux Disk /dev/sdb: 520 MB, 520093696 bytes 16 heads, 62 sectors/track, 1024 cylinders Units = cylinders of 992 * 512 = 507904 bytes Disk identifier: 0x73696420 This doesn't look like a partition table Probably you selected the wrong device. Device Boot Start End Blocks Id System /dev/sdb1 ? 1935435 2484263 272218546+ 20 Unknown Partition 1 does not end on cylinder boundary. /dev/sdb2 ? 1340912 1884235 269488144 6b Unknown Partition 2 does not end on cylinder boundary. /dev/sdb3 ? 543337 1952977 699181456 53 OnTrack DM6 Aux3 Partition 3 does not end on cylinder boundary. /dev/sdb4 * 543323 543332 4112 20 Unknown Partition 4 does not end on cylinder boundary. Partition table entries are not in disk order
/dev/sda2
a v MBR není loader, který by ho byl ochoten natáhnout. V nejjednodušším případě by mělo stačit fdisk
em nastavit tomu /dev/sda2
příznak bootable (active). Jinak bude potřeba buď nechat instalaci bootloaderu provést znovu s volbou "obnovit standardní zavaděč" (nebo tak nějak) nebo ještě lépe nechat first stage loader instalovat rovnou do MBR.
grub-install /dev/sda
misto grub-install /dev/sda2
, snazil jsem se totiz instalovat do MBR. Takze bych jeste rad zkusil obnovit standardni zavadec, ale opravdu netusim, jakym nastrojem (ke skriptu update-bootloader jsem dokumentaci nenasel, je to asi neco specifickeho pro Suse a ja netusim, k cemu slouzi). Na tom samem notebooku mi do dneska bezelo Opensuse 10.2, mel jsem pocit, ze by upgrade neskodil...
root (hd0,1) setup (hd0)Instalace se potom podari, v logu uz neni hlaseni o chybe
Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal)
a bootovani z disku bezi.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.