You are not logged in.
Hi all,
Is there anything special to take care off when installing AL on a SCSI HD ?
I have a PII running now as a Zope/Plone server on an inadequate (as Python-based Zope can has a heavy usage of HD) old IDE drive. And I want to rebuild the "beast" with the 2 small SCSI drives that I just happened to get my hands on.
Is full reinstall necessary, or may one compile a custom kernel-2.6.x with appropriate modules, clone the disk, and cross its fingers ?
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
you'll need to change grub to point to the new scsi devices (i believe they'll be sda's) and also make sure you're loading any necessary modules (unless you have them built into the kernel)
Offline
So is that all tyme ?
If so, it'll be rather a quick move ! Thanks for the tip
Plus, no X & very few apps on this box, so less chance to break something
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
oh! i forgot, be sure to edit fstab too :oops:
there may be more but in my experience that's all (note, i've only moved between partitions - not different drives/devices).
make sure you use the right options when you copy the drives over - and don't use dd to copy if the drives/partitions are different sizes, or you'll end up losing space to "the abyss".
Offline
well you could just copy all of /dev/hdX to /dev/sdX making sure to chacnge fstab add an entry for sdX
before trying to boot into it chroot into the sdX partition edit your/etc/mkinitrd.conf for appropriate modules to load & that it boots to /dev/sdX other wise your initrd26.img will point it to hdX
at least that was my previous experience when booting a usb
so here is what i belive youll need to do
mount /dev/sdX
cp -R / /where/sdX/is-mounted
mount --bind /dev /where/sdXx/is-mounted/dev
chroot /where/sdX/is-mounted
edit /etc/fstab
edit /etc/mkinitrd.conf
mkinitrd auto
press "Ctrl & d" to exit chrooted enviroment
edit /boot/grub/menu.lst add entry for new arch /dev/sdX
boot into sdX hopefully all went well
after looking at your post you didnt mention you were using grub or lilo or something else
if lilo heres from what i used to have
image=/boot/vmlinuz26
label=ARCH26
root=/dev/hda10
append="devfs=nomount"
read-only
image=/boot/vmlinuz
label=ARCH24
root=/dev/hda10
read-only
image=/boot/vmlinuz26
label=ARCH-SCSI
root=/dev/sda5
append="devfs=nomount"
read-only
image=/boot/vmlinuz26
label=ARCH26
root=/dev/hda10
append="devfs=nomount"
read-only
image=/boot/vmlinuz
label=ARCH24
root=/dev/hda10
read-only
image=/boot/vmlinuz26
label=ARCH-SCSI
root=/dev/sda5
append="devfs=nomount"
read-only
other=/dev/hda1
label=Windoze
other=/dev/sda
label=SCSI-1
other=/dev/sdb
label=SCSI-2
other=/dev/fd0
label=Floppy
i think you get the idea
or you could just install it to /dev/sdX
Offline
OH, thanks dudes
tyme > you mentionned /etc/fstab on the first post
So I'm gonna give 'cp -a /' a go
As for mkinitrd.conf I'll prefer to recompile the kernel with all the necessary modules (it's allready compiled, just have to add SCSI & remove IDE for that kernel --do not have a CD). If I fail this way I'll follow rayjgu3's chroot advice
rayjgu3 I'm pretty sure 'devf=nomount' is no more required (since big Udev shit if I remembre well).
I guess I could give kernel24 a try, for a small server it might let Python be more reactive ?
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
yeah i know i copied that from one of my earlier posts
as i have a new box that im using grub
i still have old box with proper syntax
thanks
Offline
Oh! my, what about the MBR ? shouldn't I do some 'dd if=/dev/hda of=/dev/sda bs=512 count=1', or launch 'grub' to be sure it's installed ?
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
No luck so far with those SCSI HDDs.
they're perfectly recognized @ boot along the Tekram PCI card,
Low formated them both to be sure with the Tekram 'boot utility', which show they're fine
then rebooted, cfdisk /dev/sda & ~sdb --> made partitions.
then mkfs what i wanted, but then (after format) the 'SCSI boot utility' complains about unadequate Head/Cylinder when I reboot.
Chrooted like Rayjgu3 said, then compiled the kernel to include SCSI HDD support and added an entry with initrd-full.img just in case. Edited fstab. Copyed the boot sector : # dd if=/dev/hda of=/dev/sda bs=512 count=1
On reboot screen shows
GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB
and so on.
Have done that 2 times.
Please any clue on that & how to solve it ?
Maybe I should give # grub a try
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
ive haad that problem before i believe what i done was booted from install disk
install configure then run lilo rebooted got it up then remove grub reinstall check
menu.lst reinstalled grub thats my what i believe i did cant recall for sure
Offline
rayjgu3, please explain did you reinstall Arch then lilo then grub to get your SCSI HDD actually boot ?
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline