[CentOS] Re: hard drive failing in linux raid
Alexey Loukianov
aloukianov at lavtech.ruWed Nov 15 20:41:37 UTC 2006
- Previous message: [CentOS] Re: hard drive failing in linux raid
- Next message: [CentOS] unattended fsck on boot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Çäðàâñòâóéòå, Scott. Âû ïèñàëè 15 ?????? 2006 ?., 20:07:27: > I actually forgot about this post, but I meant to post > sfdisk -d /dev/hd_GOOD | sfdisk /dev/hd_NEWDISK > to get the partition table dump that sfdisk is looking for. On x86 servers I prefer to use another method: # dd if=/dev/hd_GOOD of=/dev/hd_NEW bs=512 count=1 # sfdisk -R /dev/hd_NEW This copies full MBR, including bootloader code, to a new disk. When using md device as a root - this trick allows you to avoid using GRUB to reinstall stage1 on a new HDD. -- Ñ óâàæåíèåì, Alexey mailto:aloukianov at lavtech.ru
- Previous message: [CentOS] Re: hard drive failing in linux raid
- Next message: [CentOS] unattended fsck on boot
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list