Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm installing RedHat 7.2 onto a laptop hard disk in a USB caddy with the intention of subsequently installing the drive into a laptop that has no floppy or CD ROM drive, however I'm having a problem getting the destination machine to boot.
I've tried both Lilo and Grub and they both hang almost immedately (or errors just a flashing cursor) and I believe the problem is due to the fact that the install has configured the boot sequence for the USB caddy drive and not for the primary master IDE controller that the drive ends up being attached to.
The default kernal parameters during the install are...
sda1=ide-scsi
I've been able to work out that sda1 is the first scsi drive in the system (I'm assuming its treating the external USB caddy as a scsi device) and ide-scsi is an instruction to use scsi emulation for this device, assuming I'm right the problem I have is translating this into what it _should_ be for the destination machine.
Since its going to be the primary master IDE drive in the target system I _believe_ I need to change sda1 to hda however I am unclear if I should retain the ide-scsi or replace it with 'something else' (and if so what the 'something else' needs to be)
Originally posted by win32sux well, you wouldn't need any "ide-scsi", and you'd have to make sure your bootloader is pointing to the correct root device, for example, /dev/hda...
you might want to post your /etc/lilo.conf for discussion...
See thats the problem I cant get at it because the system wont boot once I've moved the drive to the target system, and if I booted it in the install system then I know it would be wrong (because its an external USB drive on that system)
Basically I need to know what I should be putting in the kernel parameters box instead of sda1=ide-scsi during installation to get it to boot from the primary master IDE device
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
the ide-scsi parameters tell the ide driver to ignore the drive and not set it up, because you plan to set it up with the scsi driver later. it's mostly used for ide cdrom burners.
Originally posted by win32sux yes, that's what i'm saying... you don't need special parameters... you just need to have lilo properly configured...
you could probably configure it right there on the "caddy" before transferring the disk, so that it's ready right away, i guess...
why don't you post your lilo.conf???
Ok I tried an install leaving the parameters box empty and still no dice.
If someone can tell me how to access ext3 parition under Windows XP (the native OS of the install machine the USB caddy is attached to) then I'd be able to post the lilo.conf
Please be aware that any instance of hda was originally sda1 and has been manually modified by me since being able to access the drive. I have also made the same modifications where applicable in the fstab and device.map files.
My partition layout is as follows
/boot 47MB
/ (rest of disk space)
swap 500MB
The system hangs at boot displaying 'L' (presumably the start of 'Lilo') and a flashing cursor
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
get rid of that hda=ide-scsi line, and
rerun lilo.
however you booted, and mounted the partition,
say it's at /mnt/hda2,
run
chroot /mnt/hda2/ /sbin/lilo
if you post your exact and working /etc/lilo.conf and /etc/fstab (do a copy/paste), as they are on the source system, someone here might be able to show you exactly what you need to change so that when you put the disk on the target system, it'll work right away...
I dont have an exact and working lilo.conf because neither the install system nor the target system will boot from this disk (the install system wont boot from an external drive, and the target system hangs with 'L' as I have already explained).
I've only been able to get this info by attaching the drive to a 3rd system which is running linux and has the neccessary USB support to read the external caddy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.