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

137Gb LBA Limit, Maxtor/Promise, and Lilo
http://forums.linhes.org/viewtopic.php?f=1&t=9149
Page 1 of 1

Author:  RacerX [ Tue Mar 21, 2006 4:42 pm ]
Post subject:  137Gb LBA Limit, Maxtor/Promise, and Lilo

Hello

I have a motherboard that doesn't support drives larger than 137GB. But I also have a Maxtor/Promise ATA133 drive controller. Last month I tested out the controller with FC3 and a 200GB drive and it could see the whole 200gb. On my mythtv box I upgraded to R5B7 on a 200GB drive but I suffer from the 137gb LBA Limit. I really want to get around this problem. It kills me to waste all that space. Expecially when I'm always running out of space it seems. So I disconnected the drive from the motherboard and connected it to the Maxtor/Promise controller. When I boot the system it comes up with a Kernel Panic Error and Crashes because Lilo.confg is not correct.

So I downloaded Knoppix 3.6 CD and I see that when I'm connected to the controller it changes my drive from HDA1 HDA2 HDA3 HDA4 to HDE1 HDE2 HDE3 HDE4.

Basically from reading Wiki and this post

http://mysettopbox.tv/phpBB2/viewtopic. ... ht=promise

I gather that two things need to happen.

First edit /etc/lilo.conf

code
boot=/dev/hde

code
root=/dev/hde1

Second I need to issue following as root

sudo chroot /mnt/hde1 lilo -v

Now my problem, when I boot knoppix 3.6, I am root on the cd but not on my hde1 partition. I tried changing the password on the CD root account but that did not do it. I looked and the permissions and it will not let me edit lilo. It only gives read-only access.

Could someone explain to me how do I mount HDE1 as root so I can edit lilo and issue the command? Is there anthing else that I'm missing in order to get it to boot on the controller correctly? I don't want to trash my R5B7 install if possible since it works if I hook it directly to the motherboard albeit with the 137GB limit...

Thanks

Author:  cecil [ Tue Mar 21, 2006 10:12 pm ]
Post subject: 

I think you've answered your own question. Search the forum for 'mount chroot lilo' if you want greater details.

Author:  RacerX [ Wed Mar 22, 2006 1:43 am ]
Post subject: 

I figured it out the trick is to boot with the myth R5b7 cd and when it gets to the 1-6 options page press control alt F2.

At this point you need to mount the drive

code
mount /dev/hde1 /mnt/hde1/

Next,

nano /etc/lilo.conf

code
boot=/dev/hde

code
root=/dev/hde1

press control X and then Y followed by enter to save the change

Next, change all references in FSTAB from HDA to HDE

nano /etc/FSTAB

code

/dev/hde1 / ext3 defaults,errors=remount-ro 0 1
/dev/hde4 /myth auto defaults,auto 0 2

proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
# Added by KNOPPIX
/dev/hde2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hde3 /mnt/hde3 ext2 noauto,users,exec 0 0

press control X and then Y followed by enter to save the change

Reboot and remove the cd

The system now boots off of the promise/maxtor ata133 card and sees the
entire 200GB. Goobye to the 137GB LBA barrier....

Author:  RacerX [ Fri Mar 31, 2006 1:34 pm ]
Post subject: 

Just a update


Today I performed a full install of R5B7. It was able to see my entire drive even though in the past my machine was bios limited to 137GB.

If appears to me that R5B7 has eliminated the 137Gb limititation

Excellent!!!!

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