From: Sergey Vlasov <vsu@altlinux.ru> To: community@altlinux.ru Subject: Re: [Comm] GRUB to floppy Date: Fri, 16 Jul 2004 14:49:05 +0400 Message-ID: <20040716104905.GA3485@sirius.home> (raw) In-Reply-To: <565662954.20040716151901@ngs.ru> [-- Attachment #1: Type: text/plain, Size: 1157 bytes --] On Fri, Jul 16, 2004 at 03:19:01PM +0700, php-coder wrote: > Прочитал эту статью (http://www.opennet.ru/base/sys/grub_info.txt.html) > и решил попробовать GRUB. Все делал как написано в статье, а именно: > > Пытаюсь записать grub на дискетку: > $ sudo grub > grub> root (fd0) > Filesystem type is fat, using whole disk > > grub> setup (fd0) > Checking if "/boot/grub/stage1" exists... no > Checking if "/grub/stage1" exists... no > > Error 15: File not found Файлы stage1 и stage2 нужно было сначала скопировать на дискету. Для GRUB корнем является раздел, заданный командой root. > Ладно, тогда пытаюсь по другому сделать это: > $ dd if=/boot/grub/stage1 of=/dev/floppy bs=512 count=1 > $ dd if=/boot/grub/stage2 of=/dev/floppy bs=512 seek=1 > > Гружусь с дискеты и вижу: GRUB Loading stage2Read Error Файл /boot/grub/stage2 при установке GRUB изменяется (в первый сектор прописывается таблица секторов, где расположена остальная часть stage2; stage1 использует эту информацию для загрузки). Для такого способа установки GRUB на дискету нужно достать оригинальный файл stage2 из пакета. [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2004-07-16 10:49 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-07-16 8:19 php-coder 2004-07-16 10:49 ` Sergey Vlasov [this message]
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=20040716104905.GA3485@sirius.home \ --to=vsu@altlinux.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