LinHES Forums
http://forums.linhes.org/

Install on PATA-drive through JMicron controller ? (SOLVED)
http://forums.linhes.org/viewtopic.php?f=1&t=13269
Page 1 of 1

Author:  unkle [ Wed Jan 03, 2007 11:59 am ]
Post subject:  Install on PATA-drive through JMicron controller ? (SOLVED)

Hello all,

I suspect this to be a problem of partitioning because the BIOS cant find the OS on the reboot.

Mobo: Asus P5B-VM (with latest BIOS)
Havent got at free SATA-drive so I've hooked up a PATA drive configured as master at the end of the cable connected to the JMicron-controller. Also I have a DVD-drive for the KM-disc as slave on the same cable.

If i do an automatic install I get an error stating that mkfs has some problem when the installer gets to copying files from CD to HD.
Code:
Error: Formatting of /dev/hda1 failed. Some messages from mkfs.ext3: mke2fs 1.40-WIP (14-Nov-2006) mkfs.ext3: No such device or address while trying to determine filesystem size

Well of course, - it is /dev/hdE not /dev/hdA

Manually install lets me choose a disk (/dev/hde), set up the partitions and write the information.
I followed the example in the pamphlet but im confused whether to make all partitions primary or only one primary and the swap and /myth as logical. I've done it like this:
/ primary and bootable
swap logical
/myth logical

When asked about where to put lilo I choose MBR (is this wrong?)

Now it copies the files to the disk without trouble (though in some cases it complains about not being able to find /dev/sda3 which is no wonder because im running PATA (why does the installer probe for this device when it is instructed to install on a PATA-device?)).
When i reboot i get this message:

Code:
Error loading operating system


Did any of you have any luck install KM on a PATA-drive through this JMicron-controller. I believe that it is actually a SATA controller converting from PATA to SATA but the drives appear as PATA-drives in the devices.

Any input will be greatly appreciated ! ie. what is the correct way of partitioning (step-by-step) ?

Author:  bruce_s01 [ Wed Jan 03, 2007 12:46 pm ]
Post subject: 

This sounds similar to a problem I had with an install with a HDD on hde and a DVD-ROM on hda, CD-RW on hdb.
What you need to do is reboot with knoppmyth, go to an alternate console by using Ctrl-Alt-F2 and:
Code:
cd /mnt/hdinstall/etc
nano lilo.conf

modify the boot parameter to point to your boot drive, /dev/hde (not the partition) then save it and exit.
Code:
cd ..
chroot /mnt/hdinstall
lilo -v -b /dev/hde
exit
shutdown -r now

Hopefully, it should now reboot in to the second stage of the installation.

Bruce S.

Author:  unkle [ Wed Jan 03, 2007 2:17 pm ]
Post subject: 

That did the trick !
Thankyou so much for the quick response :)

For those of us who arent yet familiar with tampering on the HD through the use of a Live-CD here's an extra command that needs to be executed at the very beginning before you follow bruce_s01's "guide".
Code:
mount /dev/hde1 /mnt/hde1

Substitute "hde1" with the correct label for your system.

Thankyou again for your attention.

Unkle

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/