bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "partnew" Command Writes Wrong Ending Cylinder in MPT


From: sburtchin
Subject: Re: "partnew" Command Writes Wrong Ending Cylinder in MPT
Date: Thu, 16 Nov 2006 23:08:59 -0800 (PST)


sburtchin wrote:
> 
> partnew 0x05 2071440 10508400
> 
> I tried with (hd1,0) and with different filesystem types but the result is
> always same: "830" instead of "831" is written to the ending cylinder
> field {(hd1) has CHS 833/240/63.}
> 
I've done some additional testing.  Here are a few more unexpected results:
For example: "partnew (hd0,0) 0x0F 2056320 158019120" writes "1021" for end
cylinder
For example: "partnew (hd0,2) 0x0C 116575200 36136800" writes "1021" for
begin & end cylinder
For example: "partnew (hd0,3) 0x00 0 0" writes C/H/S 0/0/1 thru 1021/164/4
For example: "partnew (hd1,2) 0x00 0 0" writes C/H/S 0/0/1 thru 830/164/4
{(hd0) has CHS 10587/240/63.}

Just a hunch, but it seems that partnew cannot write a begin or end cylinder
larger than the largest allowed for that drive minus 2.

I don't know if it matters in actual practice, but "partnew (hd0,3) 0x00 0
0" should write C/H/S 0/0/0 thru 0/0/0.
-- 
View this message in context: 
http://www.nabble.com/%22partnew%22-Command-Writes-Wrong-Ending-Cylinder-in-MPT-tf2599372.html#a7394855
Sent from the Grub - Bugs mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]