<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: boot disk replacement (a newbie question) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080268#M6833</link>
    <description>To partition the new disk use&lt;BR /&gt;fdisk /dev/hdd  &lt;BR /&gt;&lt;BR /&gt;"once in there 'm' for help" &lt;BR /&gt;&lt;BR /&gt;You can also check your "old" disk using &lt;BR /&gt;&lt;BR /&gt;fdisk /dev/hda&lt;BR /&gt;&lt;BR /&gt;"'p' to print partiton setup/tables and 'q' to quite"&lt;BR /&gt;&lt;BR /&gt;reading the manual page of fdisk is safer&lt;BR /&gt;&lt;BR /&gt;as for what tools to use for copy I would you use the one you know best in my case tar would be the choise.&lt;BR /&gt;&lt;BR /&gt;only mark you partion as bootable at the last moment before switching disk you can use fdisk /dev/hdd using option 'a' on the first partition to do this !&lt;BR /&gt;&lt;BR /&gt;A word of caution on all you do in fdisk, specialy with your old system disk, note viewing is no problem, but beware before you commit a 'w' ( write option in fdisk ) only do this on your new disk.&lt;BR /&gt;&lt;BR /&gt;You will have to physicaly switch the disks or do a software switch , this means run grub or lilo after having the config point to the right partion/disk &lt;BR /&gt;&lt;BR /&gt;Hopefully some of this will help you&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Sep 2003 05:37:41 GMT</pubDate>
    <dc:creator>Huc_1</dc:creator>
    <dc:date>2003-09-29T05:37:41Z</dc:date>
    <item>
      <title>boot disk replacement (a newbie question)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080264#M6829</link>
      <description>My Linux box has a single disk (10GB). I have several partitions (boot, swap, extended etc.) on it. I want to replace this disk with a larger new one (30GB). The new disk is attached to the system as /dev/hdd right now; the old one is at /dev/hda. After copying the old disk over the new one, I will remove the old disk and the new disk will become /dev/hda. What is the best and shortest method of copying all the partitions to the new disk?</description>
      <pubDate>Mon, 29 Sep 2003 04:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080264#M6829</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2003-09-29T04:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: boot disk replacement (a newbie question)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080265#M6830</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Several solutions :&lt;BR /&gt;-from a shell, use dd (man dd for details, ask here if you need).&lt;BR /&gt;-drive image works on ext2 partitions, but you have to buy this software.&lt;BR /&gt;- my favourite, mondo rescue, look at :&lt;BR /&gt;&lt;A href="http://www.microwerks.net/~hugo/" target="_blank"&gt;http://www.microwerks.net/~hugo/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 29 Sep 2003 04:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080265#M6830</guid>
      <dc:creator>Jerome Henry</dc:creator>
      <dc:date>2003-09-29T04:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: boot disk replacement (a newbie question)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080266#M6831</link>
      <description>The problem is that I want to make partitions larger, not identical (dd will not help me). I created the new partitions (larger than the older ones). Now I want to copy the files from the old partitions to the new partitions. What is the most effective command combination to copy files, directories, links, devices etc? cp, cpio, tar? What is the command to make the first new partition bootable? What should be done for the new swap swap partition?</description>
      <pubDate>Mon, 29 Sep 2003 04:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080266#M6831</guid>
      <dc:creator>Fedon Kadifeli</dc:creator>
      <dc:date>2003-09-29T04:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: boot disk replacement (a newbie question)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080267#M6832</link>
      <description>as for swap partition&lt;BR /&gt;1. use fdisk to create a new partition, then change it's id  to 82&lt;BR /&gt;(see help inside fdisk)&lt;BR /&gt;2. If your new swap partition is /dev/hda3&lt;BR /&gt;then issue this command&lt;BR /&gt;mkswap /dev/hda3&lt;BR /&gt;3.then create entry in your /etc/fstab&lt;BR /&gt;/dev/hda3    swap     swap defaults  0 0&lt;BR /&gt;&lt;BR /&gt;if you copied your old /etc/fstab then edit it and find the line with swap to change it to point to /dev/hda3&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;to make your your disk bootable if you use grub:&lt;BR /&gt;grub-install /dev/hda&lt;BR /&gt;or if you have another boot manager in mbr and you simply want to make your /boot partition to be bootable - grub-install /dev/hda1   (if /boot is mounted on /dev/hda1)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;anyway I suggest you to use the "ghost" application. It alows you to copy the whole hard drive to a larger one.</description>
      <pubDate>Mon, 29 Sep 2003 05:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080267#M6832</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-09-29T05:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: boot disk replacement (a newbie question)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080268#M6833</link>
      <description>To partition the new disk use&lt;BR /&gt;fdisk /dev/hdd  &lt;BR /&gt;&lt;BR /&gt;"once in there 'm' for help" &lt;BR /&gt;&lt;BR /&gt;You can also check your "old" disk using &lt;BR /&gt;&lt;BR /&gt;fdisk /dev/hda&lt;BR /&gt;&lt;BR /&gt;"'p' to print partiton setup/tables and 'q' to quite"&lt;BR /&gt;&lt;BR /&gt;reading the manual page of fdisk is safer&lt;BR /&gt;&lt;BR /&gt;as for what tools to use for copy I would you use the one you know best in my case tar would be the choise.&lt;BR /&gt;&lt;BR /&gt;only mark you partion as bootable at the last moment before switching disk you can use fdisk /dev/hdd using option 'a' on the first partition to do this !&lt;BR /&gt;&lt;BR /&gt;A word of caution on all you do in fdisk, specialy with your old system disk, note viewing is no problem, but beware before you commit a 'w' ( write option in fdisk ) only do this on your new disk.&lt;BR /&gt;&lt;BR /&gt;You will have to physicaly switch the disks or do a software switch , this means run grub or lilo after having the config point to the right partion/disk &lt;BR /&gt;&lt;BR /&gt;Hopefully some of this will help you&lt;BR /&gt;&lt;BR /&gt;J-P&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2003 05:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080268#M6833</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-09-29T05:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: boot disk replacement (a newbie question)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080269#M6834</link>
      <description>Nice and fast Alexander I had been typing my answer (phone interrupts etc) and when I posted my reply and did a refresh saw your's .. once again nice but I notice we both did not mention&lt;BR /&gt;the command to do a new file system on the partition's.&lt;BR /&gt;&lt;BR /&gt;so mkfs.ext2, mkfs.ext3 what ever your choise is needed in order to structure the new partitons, before being able to populate them&lt;BR /&gt;&lt;BR /&gt;The whole process would be  more ease using 'ghost' as per Alexander reply.&lt;BR /&gt;&lt;BR /&gt;J-P</description>
      <pubDate>Mon, 29 Sep 2003 05:54:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/boot-disk-replacement-a-newbie-question/m-p/3080269#M6834</guid>
      <dc:creator>Huc_1</dc:creator>
      <dc:date>2003-09-29T05:54:47Z</dc:date>
    </item>
  </channel>
</rss>

