- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- boot disk replacement (a newbie question)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 09:01 PM
09-28-2003 09:01 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 09:34 PM
09-28-2003 09:34 PM
Re: boot disk replacement (a newbie question)
Several solutions :
-from a shell, use dd (man dd for details, ask here if you need).
-drive image works on ext2 partitions, but you have to buy this software.
- my favourite, mondo rescue, look at :
http://www.microwerks.net/~hugo/
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 09:40 PM
09-28-2003 09:40 PM
Re: boot disk replacement (a newbie question)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 10:09 PM
09-28-2003 10:09 PM
Solution1. use fdisk to create a new partition, then change it's id to 82
(see help inside fdisk)
2. If your new swap partition is /dev/hda3
then issue this command
mkswap /dev/hda3
3.then create entry in your /etc/fstab
/dev/hda3 swap swap defaults 0 0
if you copied your old /etc/fstab then edit it and find the line with swap to change it to point to /dev/hda3
to make your your disk bootable if you use grub:
grub-install /dev/hda
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)
anyway I suggest you to use the "ghost" application. It alows you to copy the whole hard drive to a larger one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 10:37 PM
09-28-2003 10:37 PM
Re: boot disk replacement (a newbie question)
fdisk /dev/hdd
"once in there 'm' for help"
You can also check your "old" disk using
fdisk /dev/hda
"'p' to print partiton setup/tables and 'q' to quite"
reading the manual page of fdisk is safer
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.
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 !
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.
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
Hopefully some of this will help you
J-P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 10:54 PM
09-28-2003 10:54 PM
Re: boot disk replacement (a newbie question)
the command to do a new file system on the partition's.
so mkfs.ext2, mkfs.ext3 what ever your choise is needed in order to structure the new partitons, before being able to populate them
The whole process would be more ease using 'ghost' as per Alexander reply.
J-P