moving the whole bunch to a new disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,
It has been so long since the last time I wrote something in this list.
Well, at least it means that I have been able to keep going by myself.
But, now I am stuck in a situation I would appreciate very much a little
help.  I want to transfer my fc5 installation from one IDE to a SATA
drive. I have googled about grub and moving stuff cross drives but I
still haven't found a easy way to do it.
All file systems are ext3 and I have / and /boot partitions :
source:
/dev/hda1 12G / (label /1)
/dev/hda3 100M /boot (label /boot)
target:
/dev/sdc1 20G / (label /barra)
/dev/sdc2 150M /boot (label /barraboo)

I have copied all files using "rsync -av source dest" and installed grub
by typing
"install (hd3,1)/grub/stage1 d (hd3) (hd3,1)/grub/stage2
(hd3,1)/grub/menu.lst"
inside the grub shell. The device.map for grub is:
# this device map was generated by anaconda
(fd0)   /dev/fd0
(hd0)   /dev/hda
(hd1)   /dev/sda
(hd2)   /dev/sdb
(hd3)   /dev/sdc
(hd4)   /dev/sdd

I have edited fstab (only in the target) accordingly and tried to reboot
from sdc. I only got the word GRUB. When I boot from hda, I got a "file
not found" error. Here follows the grub.conf entries :   



title Fedora test(sem quiet)
        root (hd3,1)
        kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=LABEL=/barra rhgb
        initrd /initrd-2.6.17-1.2187_FC5.img
title Fedora Core (sem quiet)
        root (hd0,2)
        kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=LABEL=/1 rhgb
        initrd /initrd-2.6.17-1.2187_FC5.img

If anybody knows how to get through this, please help.
Thanks.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux