LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Boot Debian Form External USB Hard Disk Problem (http://www.linuxquestions.org/questions/debian-26/boot-debian-form-external-usb-hard-disk-problem-474265/)

shogun1234 08-15-2006 10:54 PM

Boot Debian Form External USB Hard Disk Problem
 
HI,

I have searched around this forum for a while, but seemly there is no similar problem like mine. So I post my question here and hope someone can give me suggestions. The question of mine is: I have a laptop (HP NC 6230), and two hard disk. One is default hd when buying laptop (ie, FUJITSU 60g), the other HITACHI 80G (in the usb external hard disk). Now I want to installed Debian to the usb external hard disk and boot from it.

The error I encountered is as follow:
Code:

ide2:I/O resource 0x3EE-0x3EE not free.
ide2:ports already in use, skipping probe.
pivot_root: No such file or directory
/sbin/init:432:cannot open dev/console:No such file
Kernel panice: Attempted to kill init!

I searched on the google and reportedly it is resulted from USB modules detection in Debian. So in order to correct it, I mounted the usb disk from another debian system. Then, editing the mkinitrd.conf and modules, located in the $HOME/temp_usb/etc/mkinitrd folder. Changing the parameters vlues of 'DELAY' (in mkinitrd.conf) to 3 or even higher.

In addition, adding several modules to the $HOME/temp_usb/etc/mkinitrd/modules files as follow:
Code:

usbcore
ehci-hcd
ohci-hcd
uhci-hcd
usb-storage


Next,
Code:

chroot temp_usb
mount -t proc none /proc
mkinitrd -o /boot/initrd.img-2.6.8-2-386 2.6.8-2-386

However, after 'reboot', the error remained. What is the root problem resulting in such error? How to correct it? Or where there is related information.

I sincerely appreciate any advice.

Thank you.


All times are GMT -5. The time now is 12:14 PM.