# cat /etc/SuSE-release
openSUSE 11.0 (X86-64) Alpha0
VERSION = 11.0
1. Used rsync to backup my ext3 320G SATA HD that's getting full to a
jfs SATA 500G drive, / and swap on each.
2. Swapped over drive cables so the new one now becomes /dev/sdb and the
old one /dev/sdc. /dev/sda is a 250G IDE I use as /ftp and swap.
3. Booted up with the 10.3 x86_64 DVD.
# mount /dev/sdb1 /mnt
# mount -o bind /dev /mnt/dev
# mount -o bind /proc /mnt/proc
# mount -o bind /sys /mnt/sys
# rm /mnt/etc/mtab*
# cp /proc/mounts /mnt/etc/mtab (mtab is 0 bytes)
# chroot /mnt /bin/bash
# grub-install /dev/sdb (looks good "/ jfs", result "success")
# less /etc/fstab
/dev/disk/by-id/scsi-SATA_MAXTOR_STM35006_6QG0YKMR-part1 /
jfs defaults 1 1
/dev/disk/by-id/scsi-SATA_MAXTOR_STM35006_6QG0YKMR-part2 swap
swap defaults 0 0
proc /proc
proc defaults 0 0
sysfs /sys
sysfs noauto 0 0
usbfs
/proc/bus/usb usbfs noauto 0 0
devpts /dev/pts
devpts mode=0620,gid=5 0 0
debugfs
/sys/kernel/debug debugfs noauto 0 0
/dev/sda1 /ftp
ext3 defaults 0 0
From /boot/grub/menu.lst
=========================
gfxmenu (hd1,0)/boot/message
title 2.6.24-rc3-git5-smp
kernel /boot/2.6.24-rc3-git5-smp
root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM35006_6QG0YKMR-part1 vga=0x31a
resume=/dev/sdb2 splash=silent showopts elevator=cfq
initrd /boot/initrd2.6.24-rc3-git5-smp
# o /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
# ls /boot/grub
device.map fat_stage1_5~ jfs_stage1_5
menu.lst.old~ reiserfs_stage1_5~ stage2.old vstafs_stage1_5~
device.map.old ffs_stage1_5 jfs_stage1_5~ menu.lst_SAV
stage1 stage2.old~ xfs_stage1_5
e2fs_stage1_5 ffs_stage1_5~ menu.lst
minix_stage1_5 stage1~ ufs2_stage1_5 xfs_stage1_5~
e2fs_stage1_5~ iso9660_stage1_5 menu.lst~
minix_stage1_5~ stage2 ufs2_stage1_5~
fat_stage1_5 iso9660_stage1_5~ menu.lst.old
reiserfs_stage1_5 stage2~ vstafs_stage1_5
Rebooted.
"(hd1,0)/boot/message" can't be found. Also tried "(hd0,0)/boot/message".
After the "kernel" line is displayed, I get
initrd /boot/initrd2.6.24-rc3-git5-smp
Error 2: Bad file or directory type
Press any key to continue ...
I rebuilt the kernel on the chrooted / and did a fresh mkinitrd, but I
get exactly the same when I reboot. I've even removed the 320G SATA ext3
drive and done it all again, no luck.
Can't figure out what the trouble is, filesystems mismatch, like you
can't use a jfs HD backed up from an ext3 HD? grub is the same on both
HD's, so is mkinitrd, gcc, etc., etc., everything got rsync'd across.
Back on the original ext3 HD as /dev/sdb1, everything works.
title 2.6.24-rc3-git5-smp
kernel /boot/2.6.24-rc3-git5-smp
root=/dev/disk/by-id/scsi-SATA_WDC_WD3200AAKS-_WD-WCAPZ1455963-part1
vga=0x31a resume=/dev/sdb2 splash=silent showopts elevator=cfq
initrd /boot/initrd2.6.24-rc3-git5-smp
Any ideas?
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]