# iopener seems to accept 40gb laptop hard drive without trouble # installed hard drive in USB case so I could install from desktop fdisk /dev/sda Disk /dev/sda: 64 heads, 32 sectors, 38154 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System /dev/sda1 1 257 263152 82 Linux swap /dev/sda2 258 38154 38806528 83 Linux # this partition table was changed later mkswap /dev/sda1 mkfs /dev/sda2 mount /dev/sda2 /mnt/portable cd /dist wget --passive-ftp ftp://194.199.20.114/linux/redhat/9/en/os/i386/RedHat/RPMS/anaconda-9.0-4.i386.rpm rpm -i anaconda-9.0-4.i386.rpm # failed dependencies patch /mnt/portable/grub/grub.conf <<\...EOF... --- grub.conf.orig 2003-09-21 02:05:17.000000000 -0400 +++ grub.conf 2003-09-21 02:07:38.000000000 -0400 @@ -9,8 +9,8 @@ #boot=/dev/sda2 default=0 timeout=10 -splashimage=(hd2,1)/grub/splash.xpm.gz +splashimage=(hd0,1)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-6) - root (hd2,1) - kernel /vmlinuz-2.4.20-6 ro root=LABEL=/1 + root (hd0,1) + kernel /vmlinuz-2.4.20-6 ro root=/dev/sda4 initrd /initrd-2.4.20-6.img ...EOF... # didn't work # installed hard drive in laptop and booted redhat install disk 1 boot: linux rescue chroot /mnt/sysimage # kernel panic in kjournald in ll_rw_blk.c:956: invalid operand: 0000, # occured twice, on separate boots grub-install --root-directory=/boot '(hd0)' # hangs # restart install on lapto # error: partition table on /dev/hda is inconsistent # parted suspects geometry should be 38154/64/32 not 19380/64/63 # can add hda=38154,64,32 to kernel command line # select ignore # system to upgrade: reinstall system # ... # partions are now /dev/hda* # Bios keys: # ctrl-alt-esc run setup # tab show bios messages instead of logo screen # with drive in laptop, /proc/ide/hda/geometry says: # Physical: 77520/16/63 # Logical 19380/64/63 # Installing IDE CD-ROM did not work because sandisk conflicts, but # running just the CD-ROM in place of hard drive shows that RH8.0 # kernel boots but RH9.0 does not. # NOTE: The problem may be that the jackasses at redhat installed an # athlon kernel since my laptop had an athlon. Although Redhat 9 # kernel on CD-ROM dies later. ### ### Redhat 8.0 ### boot: linux rescue chroot /mnt/sysimage mount /dev/hdc /mnt/cdrom rpm -i --force /mnt/cdrom/RedHat/RPMS/kernel-2.4.18-14.i586.rpm rpm -i --force /mnt/cdrom/RedHat/RPMS/kernel-utils-2.4.18-14.i386.rpm rpm -i /mnt/cdrom/RedHat/RPMS/kernel-bigmem-2.4.18-14.i686.rpm # rpm -i /mnt/cdrom/RedHat/RPMS/kernel-pcmcia-cs-3.1.31-9.i386.rpm # rpm -i /mnt/cdrom/RedHat/RPMS/kernel-uml-2.4.18-14.i686.rpm # grub.conf was updated automatically (though not to make the new old # kernel the default) reboot # selected original kernel, still boots - but panics later # new old kernel 2.5.18-14 boots on laptop # on i-opener it boots but then # mkrootdev label / not found (probably sandisk conflicts) # pivotroot: pivot_root(/sysroot,/sysrooot/initrd) failed: 2 umount /initrd/proc failed: 2 # "Kernel panic: No init found" # Set drive d: to "none" in bios # unfortunately, kernel isn't fooled # stupid redhat and there root=LABEL=/ bullshit # use grub to set root=/dev/hda4 doesn't work # edited /etc/fstab # mount error 6 mounting ext3 ### ### try again using <8MB ### # boot: linux text expert # Do you have a driver disk: no # language: english # keyboard: us # installation method: local cdrom # Mouse: generic - 2 button PS/2, emulate 3 buttons # Error: geometry, ignore # system to upgrade: reinstall system # what type of system would you like to install: custom # disk partitioning setup: disk druid # delete all # Add partiton: swap, 512MB, fixed size, force primary hda3 # add partition /boot, 512MB, ext3, fixed size, force primary hda1 # add partition /, 7000MB, ext3, fixed size, force primary hda2 # add partition /scratch, ext3, fill all availible space hda5 # boot loader configuration: grub, # options: hdc=ide-scsi, # force use of LBA32: yes # no grub password # * Red Hat Linux /dev/hda2 # where to install bootloader: /dev/hda # network configuration: # Use bootp/dhcp: yes # Activate on boot: no # Firewall configuration: # security level: medium (avoid DNS bug for now), customize # Trusted devices: none # Allow incomng DHCP, SSH # Language support: English (USA) only # Time zone selection: America/New_York, hardware clock set to gmt # root password: ****** # Authentication Configuration: # Use shadow: yes # MD5: yes # NIS: no # LDAP: no # Kerberos: nop # Package group selection: all, including everything, select individual # Individual package selection: leave all selected, total size 4848MB # Begin: ok # Boot diskette: no # Video Card Configuration: skip # installation complete # reboot cp /etc/fstab /etc/fstab.orig emacs /etc/fstab # fix LABEL=bullshit cp /etc/grub.conf /etc/grub.conf.orig ? /etc or /boot ? emacs /etc/grub.conf # fix LABEL=bullshit # note: fdisk describes geometry as 64 heads, 32 sectors, 38154 cylinders # try it on the i-opener - kernel reboots as expected # put back in laptop, boot redhat 9.0 disk 1 # boot: linux rescue chroot /mnt/sysimage mount /dev/hdc /mnt/cdrom rpm -i --replacefile --force /mnt/cdrom/RedHat/RPMS/kernel-2.4.20-6.i586.rpm /sbin/shutdown -r now # try on i-opener # kernel panics at: # Checking if this pprocessor honour the WP bit even in supervisor mode ... # Back to laptop # boot redhat 8.0 disk 1 in rescue mode boot: linux rescue chroot /mnt/sysimage mount /dev/hdc /mnt/cdrom rpm -i --force /mnt/cdrom/RedHat/RPMS/kernel-2.4.18-14.i586.rpm rpm -i --force /mnt/cdrom/RedHat/RPMS/kernel-utils-2.4.18-14.i386.rpm rpm -i /mnt/cdrom/RedHat/RPMS/kernel-pcmcia-cs-3.1.31-9.i386.rpm # reboot # interestingly, we don't seem to need to fix grub.conf # still fails cp /etc/lilo.conf.anaconda /etc/lilo.conf vmlinuz-2.4.17-14 ro root--/dev/hda2 initrd /initrd-2.4.18.14.img ### ### VariCAD ### # http://www.varicad.com/ cd /dist wget --passive-ftp http://ftp.varicad.com/pub/VariCAD/linux/RedHat-9/VariCAD-en-9.0.1.0-2_rh9.i386.rpm rpm -i VariCAD-en-9.0.1.0-2_rh9.i386.rpm varicad & # interactive # run as root so it can create the temporary license file # varicad: relocation error: varicad: undefined symbol: _ZN18QMetaObjectCleanUpC1EPKcPFP11QMetaObjectvE wget --passive-ftp ftp://216.254.0.38/linux/redhat/9/en/os/i386/RedHat/RPMS/qt-3.1.1-6.i386.rpm ### ### ### # on desktop: mkdir /mnt/usb rmmod usb-storage mount /dev/sda2 /mnt/usb mkdir /mnt/usb/usr/local/share/roadmap cp -rp /usr/local/share/roadmap/ /mnt/usb/usr/local/share/roadmap mv /mnt/usb/usr/local/share/roadmap /mnt/usb/usr/local/share/junk mv /mnt/usb/usr/local/share/junk/roadmap /mnt/usb/usr/local/share/ rm /mnt/usb/usr/local/share/junk cp /usr/local/src/roadmap.* /mnt/usb/usr/local/src cp -rp /usr/local/src/roadmap.* /mnt/usb/usr/local/src cp -rp /usr/local/src/gps* /mnt/usb/usr/local/src cp -rp /usr/local/src/flite-1.2-release /mnt/usb/usr/local/src mkdir /mnt/usb/dist cp -rp /home/whitis/laptop/hp/downloads/musicbrainz-1.1.0-1.i386.rpm /mnt/usb/dist/ cp -rp /home/whitis/laptop/hp/downloads/zinf-1.1.0-1.i386.rpm /mnt/usb/dist/ cp -rp /home/whitis/laptop/hp/downloads/zinf-* /mnt/usb/dist/ cp -rp /dist/opera-7.11-20030515.1-static-qt.i386.rpm /mnt/usb/dist/ ### ### ### # on i-opener # Added # Option "Accel" "off" # to the screen section in /etc/X11/XF86Config