On Sat, Jan 05, 2002 at 12:10:30PM +0100, Thierry Godefroy wrote: > On Fri, 4 Jan 2002 19:06:13 +0100, "Fabrizio Diversi" <[EMAIL PROTECTED]> wrote: > > > I am sure is a stupid question but anyway : > > - how can I copy the new kernel vmlinuz.2.4.17 from the linux partition to > > the smsq/e partition ? > > Let's say that /dev/hda2 is a SMSQ/E partition, then use: > > cd /boot > qxltool -w /dev/hda2 > > then, under qxltool: > > write vmlinux-2.4.17 vmlinux-2.4.17 > exit > > IMPORTANT NOTE: if you NEVER used qxltool on a SMSQ/E formatted partition, > then you MUST first (i.e. before any other command under qxltool) use the > qxltool "fix_geometry" command.
READ CAREFULLY: this is *NOT* required or recommended if SMSQ-Q40 formatted the harddisk. The fix_geometry is not here for qxltool' conveniece, in fact qxltool will completely ignore this information. Use fix_geometry *ONLY* if the partition was either formatted by qxltool *or* transferred in raw form (eg with 'dd' under Linux) from a different harddrive/partition/cdrom/QPC partition. The reason for fix_geometry is that on some systems (eg Q40) SMSQ stores drive geometry inside the filesystems 0th block and breaks horribly if it isn't there. All may seemingly work a while untill it tries to access other than 0th track, data will be written to wrong location. On QPC,QXL and SCSI systems SMSQ does not use this information, it might in fact get seriously confused by it.. never tried it that way around. Finally, qxltool is not reliable enough for writing to SMSQ partitions, various versions had bugs that could cause problems. SMSQ is not good at handling damaged filesystems so don't try it. UQLX is a bit safer, it can be even used in scripts if you use the '-s' option. Assuming vmlinux is in /boot and qxl1_ does access the wanted SMSQ partition write a little SBasic program like 10 copy_o '/boot/vmlinux',qxl1_vmlinux2417 20 kill_uqlx save 'mdv1_copykernel' and call it with 'qm -s 'lrun mdv1_copykernel'. It will not try to create a window btw, text in/output (if any) will be handled by the current console in a somewhat limited fashion. Can be automated to a large degree, SBasic in UQLX can eg access arguments using getXargc and getXarg$() Bye Richard
