Portál AbcLinuxu, 10. května 2025 08:16
fdisk -l Disk /dev/hda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 1868 15004678+ 7 HPFS/NTFS /dev/hda2 1869 1931 506047+ 82 Linux swap / Solaris /dev/hda3 1932 3799 15004710 83 Linux /dev/hda4 3800 19457 125772885 f W95 Ext'd (LBA) /dev/hda5 3800 4712 7333641 83 Linux /dev/hda6 4713 19457 118439181 83 Linuxkonfigurak GRUBu:
cat /boot/grub/grub.conf # Boot automatically after 3 secs. timeout 3 # By default, boot the first entry. default 0 # Fallback to the second entry. fallback 1 # For booting GNU/Linux title Gentoo (resume) root (hd0,2) kernel /boot/vmlinuz ro root=/dev/hda3 resume2=swap:/dev/hda2 title Gentoo noresume root (hd0,2) kernel /boot/vmlinuz ro root=/dev/hda3 noresume2 title Gentoo.old noresume root (hd0,2) kernel /boot/vmlinuz.old ro root=/dev/hda3 noresume2 title Win XP rootnoverify (hd0,0) makeactive chainloader +1instalacia GRUBu:
grub --no-floppy grub> root (hd0,2) grub> setup (hd0) grub> quit
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.