From: Eugene Prokopiev <prokopiev@stc.donpac.ru> To: Community@altlinux.ru Subject: [Comm] Переезд hda -> sda Date: Wed, 03 Nov 2004 11:04:11 +0300 Message-ID: <418890FB.2090602@stc.donpac.ru> (raw) Здравствуйте! На hda стояла система (ALM2.2). С ней сделали следующее: Загрузились с компакт-диска ALC 2.3 Выполнили: cd /mnt find ./ | cpio -o | gzip -9 -c > /data/system.cpio.gz Файл system.cpio.gz утянули на другую машину, на которой диск разметили так: fdisk -l /dev/sda Disk /dev/sda: 4294 MB, 4294967296 bytes 255 heads, 63 sectors/track, 522 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 12 96358+ 83 Linux /dev/sda2 13 273 2096482+ 5 Extended /dev/sda5 13 48 289138+ 83 Linux /dev/sda6 49 78 240943+ 83 Linux /dev/sda7 79 139 489951 83 Linux /dev/sda8 140 151 96358+ 83 Linux /dev/sda9 152 273 979933+ 83 Linux Т.е. аналогично первой машине с заменой h на s И примонтировав указанные разделы, выполнили: cat /data/system.cpio.gz | gzip -d -c | cpio -i --make-directories chroot /mnt /bin/bash mkinitrd /boot/initrd-2.4.20-alt5-up.img 2.4.20-alt5-up grub-install /dev/sda В ответ на последнюю команду получили: /dev/sda does not have any corresponding BIOS drive. При этом: # cat /boot/grub/menu.lst timeout 5 color blue/black cyan/blue default 0 title linux-up kernel (hd0,0)/boot/vmlinuz-up root=/dev/sda1 initrd (hd0,0)/boot/initrd-up.img title failsafe kernel (hd0,0)/boot/vmlinuz-up root=/dev/sda1 failsafe initrd (hd0,0)/boot/initrd-up.img title floppy root (fd0) chainloader +1 # cat /etc/fstab /dev/sda1 / ext3 defaults 1 1 devpts /dev/pts devpts gid=5,mode=0620 0 0 /dev/sda8 /home ext3 defaults 1 2 /dev/cdrom /mnt/cdrom auto user,iocharset=koi8-r,exec,ro,noauto 0 0 /dev/floppy /mnt/floppy auto user,iocharset=koi8-r,umask=0,sync,quiet,exec,codepage=866,noauto 0 0 proc /proc proc gid=19 0 0 /dev/sda6 /usr ext3 defaults 1 2 /dev/sda7 /var ext3 defaults 1 2 /dev/sda5 swap swap defaults 0 0 # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda1 92M 68M 20M 78% / proc 92M 68M 20M 78% /proc proc 92M 68M 20M 78% /proc /dev/sda6 228M 150M 67M 70% /usr Результаты df -h особенно удивили, хотя может так и надо? Где я ошибся? -- С уважением, Прокопьев Евгений
next reply other threads:[~2004-11-03 8:04 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-11-03 8:04 Eugene Prokopiev [this message] 2004-11-03 10:25 ` Sergey Vlasov 2004-11-03 11:21 ` Eugene Prokopiev 2004-11-03 12:01 ` Artem Pastukhov 2004-11-03 12:14 ` Eugene Prokopiev
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=418890FB.2090602@stc.donpac.ru \ --to=prokopiev@stc.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