From: "Прокопьев Евгений" <john@rmts.donpac.ru> To: community@altlinux.ru Subject: [Comm] LILO, GRUB: Загрузка DOS c /dev/hdd2 Date: Tue, 15 Apr 2003 09:01:04 +0400 Message-ID: <3E9B9210.7040401@rmts.donpac.ru> (raw) Здравствуйте! В прошлый раз меня не совсем правильно поняли (да и сам я не все понял), поэтому подробнее: Есть диск, побитый так: Disk /dev/hdd: 10.2 GB, 10202050560 bytes 16 heads, 63 sectors/track, 19767 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot Start End Blocks Id System /dev/hdd1 1 7752 3906976+ 5 Extended /dev/hdd2 * 7753 7946 97776 6 FAT16 /dev/hdd5 1 775 390537 83 Linux /dev/hdd6 776 1938 586120+ 82 Linux swap /dev/hdd7 1939 3876 976720+ 83 Linux /dev/hdd8 3877 5814 976720+ 83 Linux /dev/hdd9 5815 7752 976720+ 83 Linux /dev/hdd5 - это / линукса, который грузится как с помощью lilo, так и с помощью grub Вот конфиг lilo: disk=/dev/hdd bios=0x80 boot=/dev/hdd map=/boot/map install=/boot/boot.b vga=791 default=linux-up lba32 prompt timeout=50 image=/boot/vmlinuz-up label=linux-up root=/dev/hdd5 initrd=/boot/initrd-up.img read-only image=/boot/vmlinuz-up label=failsafe root=/dev/hdd5 initrd=/boot/initrd-up.img append=" failsafe" vga=normal read-only other=/dev/hdd2 label=windows table=/dev/hdd other=/dev/fd0 label=floppy unsafe Вот, что я получаю при запуске команды lilo: Warning: Int 0x13 function 8 and function 0x48 return different head/sector geometries for BIOS drive 0x81 fn 08: 1024 cylinders, 255 heads, 63 sectors fn 48: 19710 cylinders, 16 heads, 255 sectors Added linux-up * Added failsafe lilo: Fatal: First sector of /dev/hdd2 doesn't have a valid boot signature /dev/hdd2 форматировался при загрузке с дискеты DR DOS командой format c: /x /s и содержит все необходимое для загрузки. unsafe я могу указать только для floppy (так мне сказал lilo, когда я попытался заменить table на него), поэтому совершенно непонятно, как в принципе я мог бы загрузиться с cdrom, например (BIOS не в счет) А вот конфиг GRUB, который тоже грузит линукс, но не может загрузить DOS (map (0x81) (0x80) и наоборот не помогает). hd0 на самом деле hd1, просто я в биосе выбрал его первым загрузочным устройством timeout 5 gfxmenu (hd0,4)/boot/splash/Master/message default 0 title linux-up kernel (hd0,4)/boot/vmlinuz-up root=/dev/hdd5 vga=791 initrd (hd0,4)/boot/initrd-up.img title failsafe kernel (hd0,4)/boot/vmlinuz-up root=/dev/hdd5 failsafe initrd (hd0,4)/boot/initrd-up.img title dos root (hd0,1) makeactive chainloader +1 title floppy root (fd0) chainloader +1 При попытке загрузить DOS я получаю: root(hd0,1) Filesystem type unknown? partition type 0x6 makeactivae chainloader +1 Error 13: Invalid or unsupported executable format Press any key to continue ... Так что мне сделать (менять начальные условия нельзя, загрузчик - LILO или GRUB, DOS должен быть на /dev/hdd2). И как загрузиться с cdrom? -- С уважением, Прокопьев Евгений
next reply other threads:[~2003-04-15 5:01 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-15 5:01 Прокопьев Евгений [this message] 2003-04-15 7:44 ` Andriy Dobrovol's'kii
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3E9B9210.7040401@rmts.donpac.ru \ --to=john@rmts.donpac.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git