am I stupid or what lol
well now since I don't have grub installed anymore, can I install that on the new disk with my repo or the CD?
and THEN

Code: Select all
[root@unknown 2]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 16G 12G 3.2G 80% /
tmpfs 470M 0 470M 0% /dev/shm
/dev/sda1 99M 81M 14M 86% /boot
/dev/sda4 95G 34G 57G 38% /data
/dev/sdb1 297M 86M 196M 31% /mnt/1
/dev/sdb2 25G 13G 12G 52% /mnt/2
/dev/sdb4 158G 34G 116G 23% /mnt/4
cd /mnt/1/
rsync -ax /boot .
cd /mnt/2/
rsync -ax --exclude='/boot/' --exclude='/mnt/1/' --exclude='/mnt/2/' --exclude='/mnt/3/' --exclude='/mnt/4/' --exclude='/data/' / .
cd /mnt/4/
rsync -ax /data .
Code: Select all
grub-install --recheck /dev/sdb
Code: Select all
bash-4.0# grub-install /dev/sda
Could not find device for
Code: Select all
mount /dev/sda2 /mnt/1
mount /dev/sda1 /mnt/1/boot
mount --bind /dev /mnt/1/dev
mount --bind /proc /mnt/1/proc
mount --bind /sys /mnt/1/sys
chroot /mnt/1
grub-install /dev/sda
Could not find device for
Code: Select all
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/boot
grub-install --root-directory=/mnt /dev/sda
/sbin/grub: Not found
Code: Select all
root (hd0,1)
setup (hd0)
Code: Select all
rw-r--r--.
Code: Select all
root (hd0,0)
setup (hd0)
Code: Select all
no root device found
mapscrn: cannot found map file _iso15_
The UUIDs for the new file systems will not be the same as the old file systems. You have to use the proper ones in the fstab and on the kernel boot paramater (if you use UUID there). Get the UUID of the file system You can see which file systems have which uuids a couple of ways:Basher52 wrote:The latest thing I got is that the grub.conf was relating to UUID so I changed that to /dev/sda2.
Then it started to boot, but then lots relating to this UUID same and it stopped booting.
I'm gonna keep fiddling with this tomorrow and also try to remove the UUID use.
The weird part is that 'df-h' show "normal" devicename's on THIS machine but not another one also using F12.
thx