You are not logged in.

#1 2006-03-24 00:46:01

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Problem to install Arch on SCSI HD (shift from IDE)

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" wink 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 smile) #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

#2 2006-03-24 01:15:07

tyme
Member
From: PA
Registered: 2003-06-12
Posts: 139
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

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

#3 2006-03-24 14:26:02

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

So is that all tyme ?
If so, it'll be rather a quick move ! Thanks for the tip smile
Plus, no X & very few apps on this box, so less chance to break something smile


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 smile) #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

#4 2006-03-24 14:37:23

tyme
Member
From: PA
Registered: 2003-06-12
Posts: 139
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

oh!  i forgot, be sure to edit fstab too :oops:

there may be more wink 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

#5 2006-03-24 21:53:29

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem to install Arch on SCSI HD (shift from IDE)

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

#6 2006-03-24 23:47:58

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

OH, thanks dudes

tyme > you mentionned /etc/fstab on the first post wink

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 smile

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 smile) #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

#7 2006-03-25 02:30:47

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem to install Arch on SCSI HD (shift from IDE)

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

#8 2006-04-23 00:39:44

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

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 smile) #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

#9 2006-04-25 07:13:49

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

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 smile

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 smile) #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

#10 2006-04-26 11:58:15

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Problem to install Arch on SCSI HD (shift from IDE)

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

#11 2006-04-28 22:14:28

kozaki
Member
From: London >. < Paris
Registered: 2005-06-13
Posts: 671
Website

Re: Problem to install Arch on SCSI HD (shift from IDE)

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 smile) #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

Board footer

Powered by FluxBB