bug-grub@gnu.org

2004-01-24 Thread Raul Cooke
___ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub

Grub Hide & Partition ID Issues

2004-01-24 Thread Elm, Rob
Hello Bug-Grub, I'm not a super Grub user but I have one big issue with Grub I was hoping someone would help me out with. First of all, why does the hide command just increase your partition type by 10? For example if you had a partition type of 83, issuing: hide (hd

(no subject)

2004-01-24 Thread Elm, Rob
Hello Bug-Grub, I'm not a super Grub user but I have one big issue with Grub I was hoping someone would help me out with. First of all, why does the hide command just increase your partition type by 10? For example if you had a partition type of 83, issuing: hide (hd

Re: still no luck with grub

2004-01-24 Thread cr
On Sun, 25 Jan 2004 11:16, Daniel Senderowicz wrote: > >kernel (hd0,0)/vmlinuz root=/dev/hdc6 > >^(1).^ ^.(2)^ > > > >1) This is telling grub where to find vmlinuz > >2) Are linux kernel parameters, and are not used by grub at all. > > I didn't quite understand the part of

Re: still no luck with grub

2004-01-24 Thread Daniel Senderowicz
>kernel (hd0,0)/vmlinuz root=/dev/hdc6 >^(1).^ ^.(2)^ > >1) This is telling grub where to find vmlinuz >2) Are linux kernel parameters, and are not used by grub at all. I didn't quite understand the part of root=/dev/hdc6. I'm getting to boot from the harddisk by simply ty

Re: FreeBSD 5.x fixes

2004-01-24 Thread Sergey Matveychuk
Sergey Matveychuk wrote: +if(ioctl(f, DIOCGSECTORSIZE, &secsize) != 0) + secsize = 512; + +if (ioctl(f, DIOCGMEDIASIZE, &mediasize) != 0) + goto fail; Oops! Sorry again. Here is must be fd instead of f in file descriptor. -- Sem. ___

Re: FreeBSD 5.x fixes

2004-01-24 Thread Sergey Matveychuk
Yoshinori K. Okuji wrote: I think there are some bugs in your patch. [skipped] Here, you use hdg.d_secperunit, but this is uninitialized. If my understanding is correct, you need this kind of code to get it: You are right. I've missed couple lines when borrow the code from bsdlabel programm. [sk

Re: FreeBSD 5.x fixes

2004-01-24 Thread Yoshinori K. Okuji
On Friday 23 January 2004 21:44, Sergey Matveychuk wrote: > See: > http://savannah.gnu.org/bugs/?func=detailitem&item_id=7399 I think there are some bugs in your patch. +u_intu; + +if (ioctl(fd, DIOCGFWSECTORS, &u) == 0) + hdg.d_nsectors = u; +else + hdg.d_nsec