Re: [gentoo-user] grub still broke--update

2005-07-02 Thread James Hiscock
 PartitionMagic is the best for this, but at $70 it is a bit pricey.
 There may be free programs to do this, but I have no experience with them.

QTparted: open-source alternative to PQMagic, _and_ it's significantly
faster (e.g. resizing a 40GB NTFS partition to 10GB with PQMagic took
me an hour or two; with qtparted, it took about ten minutes) and less
error-prone (e.g. I've had qtparted fail many times, but only once was
it so catastrophic that I couldn't fix it easily; with PQMagic, if it
failed, I knew I was screwed...).

I've been using PartitionMagic since 4.x, and stumbled across QTparted
after having PQMagic 8 consistently wipe my entire 120GB drive at
startup - before I'd even done anything! The support folks didn't help
at all on that one, so I gave up on PQMagic (although they did give me
some help later that wasn't great, but got me on the right path to
fixing the problem I was having).

You can get a decent version of qtparted (assuming you don't care much
for English grammar) with the current Knoppix - which is pretty much
the only reason why I still use Knoppix. ;)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-29 Thread maxim wexler


--- A. Khattri [EMAIL PROTECTED] wrote:

 On Sun, 26 Jun 2005, maxim wexler wrote:
 
  So there must be a problem w/
  the Asus K8N-E(Sempron box) BIOS. I updated it
 using
  the tool that came w/ the support CD but it only
 made
  matters worse:
 
 Did you download the latest BIOS from Asus's site
 and use that?

Yes!

 I imagine any CD included with a motherboard is old
 before it hits the
 shelves...

So what? The tool will still work. Kindly read what
I wrote!



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-29 Thread A. Khattri
On Wed, 29 Jun 2005, maxim wexler wrote:

  I imagine any CD included with a motherboard is old
  before it hits the
  shelves...

 So what? The tool will still work. Kindly read what
 I wrote!

I *did* read what you wrote.

My point was if there was an update on the CD it would be old.

You wrote:

As it happens, an attempt to update the BIOS on my Asus K8N-E-deluxe
using the utility included in the mobo support CD,

You did not write something like:

As it happens, an attempt to update the BIOS (downloading the latest
one from the Asus web site) on my K8N-E-deluxe using the utility included
in the mobo support CD,

Sorry to split fine hairs with an enormous axe but you might think about
that before jumping on people trying to help.



-- 
Aj.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-29 Thread Richard Fish


maxim wexler wrote:

Maxim, if you want the system to boot from the hard
disk, I really think
you have no choice but to repartition and re-install
the system, with
boot as the first partition.



On the Sempron there are two HDs, the 120G, pri-mast
and a 3.5G(fat32) as a pri-slave. LBA is set to auto
in the BIOS for both drives but it only appears on
in the POST screen for the 3.5G. I put the 120G as
pri-slave in the K6 box along w/ a 10G
master(gentoo-2004.3) and it does come up as on for
both of them albeit only 65G of the 120G available is
reported, probably because of the more
primitive(c.2000) BIOS. So there must be a problem w/
the Asus K8N-E(Sempron box) BIOS. I updated it using
the tool that came w/ the support CD but it only made
matters worse: Not only does LBA remain off for the
120G, XP Pro won't boot, even though the boot.ini
console opens. I've contacted Asus but they haven't
replied yet. I bought it two months ago; maybe they'll
let me have a new one. If LBA were on that would
solve my problem wouldn't it?
  


Ok, I did some more checking and reading about the various interfaces
for accessing disk drives.  If you have some time, take a look at:

http://www.storagereview.com/guide2000/ref/hdd/hist.html

In ancient times, we were limited to ~512MB addressable through the BIOS
int13h instructions, with 1024 cylinders, 16 heads, and 63
sectors/track.  LBA translation got us to ~8.2GB addressable with 1024
cylinders, 255 heads, and 63 sectors/track.  The limit with the int 13h
extensions interface is some ridiculously large value...  Of course I
am ignoring pre-historic times when the disk geometry actually did
reflect the physical number heads and cylinders in the drive.

So basically, if the BIOS, disk, and controller all support Int13h
extensions, and LBA mode is enabled, there should be no problem loading
the stage2 or kernel from anywhere on that disk.  So yes, I believe that
if you can get LBA mode to be enabled, you should be able to boot.

But getting to that point may involve rebuilding the system anyway.  I
found an interesting note in the user manual for the K8N-E.  It says:

oops, PDF is now corrupt...and ASUS's web site is way too damn slow for
me to try and download it again...so I will paraphrase

It said that LBA mode will be disabled if the disk was formatted
without LBA being enabled.  It was light on the details, but I assume
that really means partitioned with 16 heads instead of 255.



Now, the Asus brd does have raid capability. Would
that be a way out of this morass? How does raid work?
  


You can try plugging the disk into the controller, but ignore the RAID
functionalities.  This is usually called JBOD (just a bunch of disks)
mode.  But I think you still have the same fundamental problem...how to
get LBA mode enabled.

I've never used it before. Failing that is there a way
to copy non-destructively the partition containing
WinXP and move it up enough to make room for a boot
partition at /dev/hda1?
  


PartitionMagic is the best for this, but at $70 it is a bit pricey. 
There may be free programs to do this, but I have no experience with them.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-29 Thread maxim wexler

 that before jumping on people trying to help.
 

Smart Alec! Help my eye!



__ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-28 Thread A. Khattri
On Sun, 26 Jun 2005, maxim wexler wrote:

 So there must be a problem w/
 the Asus K8N-E(Sempron box) BIOS. I updated it using
 the tool that came w/ the support CD but it only made
 matters worse:

Did you download the latest BIOS from Asus's site and use that?
I imagine any CD included with a motherboard is old before it hits the
shelves...


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-28 Thread A. Khattri
On Sun, 26 Jun 2005, maxim wexler wrote:

 Now, the Asus brd does have raid capability. Would
 that be a way out of this morass?

Its probably software RAID - you're better off using Linux's own software
RAID.

 How does raid work?

http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-25 Thread Neil Bothwick
On Fri, 24 Jun 2005 18:30:19 -0400 (EDT), A. Khattri wrote:

 You should leave /boot as an ext2 partition. My guess is that grub only
 understands ext2 file-systems so can't work with your boot partition.

GRUB does understand ReiserFS, although it is a complete waste of space
using Reiser on a /boot partition, the journal will take up more space
than all your kernels. Look in /boot/grub to see the handlers for the
various filesystems GRUB supports.


-- 
Neil Bothwick

I am Zaphod of Borg. Now, where's the coolest place to be assimilated...


pgpipfYr4IfNw.pgp
Description: PGP signature


Re: [gentoo-user] grub still broke--update

2005-06-25 Thread Richard Fish
A. Khattri wrote:

 On Fri, 24 Jun 2005, maxim wexler wrote:

 This reminds me. When I installed 2005.0(sempron-box)
 I tried to mkreiserfs /dev/hda2, the boot partition,
 since that gave no problem in 2004.3(k6-box)but it
 gave me some sort of error, forget which, so I went
 for the default, or anyways, the suggestion in the
 manual, ext2, so maybe there is a problem with the fs.


 You should leave /boot as an ext2 partition. My guess is that grub only
 understands ext2 file-systems so can't work with your boot partition.


No, it can understand reiserfs and xfs filesystems just fine.  I've
booted from both with the appropriate stage1.5.  Plus we've also tried
not using a stage1.5 to read the stage2 through the filesystem, loading
the stage2 directly from the stage1 block map, without success.

Folks, the problem here is that the /boot partition is around 60GB (!!)
away from the start of the disk, and grub cannot read those sectors
through Maxim's BIOS.  That is what those Error 18: Selected cylinder
exceeds maximum supported by BIOS are telling us.  Unless we can
somehow change the BIOSs block addressing mechanism to allow him to read
those sectors, there is not going to be any way to read the kernel from
the disk.

Maxim, if you want the system to boot from the hard disk, I really think
you have no choice but to repartition and re-install the system, with
boot as the first partition.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-25 Thread maxim wexler


 By diverse means, we arrive at the same end.
 
 Holly

Thanks, Holly. I remember thinking your suggestion too
drastic to contemplate. Starting to look more
reasonable now :o
 -mw



 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-25 Thread Richard Fish
Boyd Stephen Smith Jr. wrote:

 Richard Fish wrote:

 No, it can understand reiserfs and xfs filesystems just fine.


 Actually, grub does have an issue with reiserfs.  


True, I had forgotten about that.  Thanks for the correction.

 As already mentioned, using reiserfs on boot is a complete waste.


Well, that depends on your viewpoint.  The reason I have used reiserfs
and xfs on /boot is because that is what all my other filesystems were
formatted with.  Using the same filesystem for /boot reduced the amount
of thinking I had to do when configuring my kernel, initrd, and fstab.

Besides, you can format it with --journal-size=513, and with a 1k block
size that is only 513k...not exactly a huge waste of space.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread maxim wexler
Went through the saved pile and found this:

 Try 1 (should bring up the boot menu):
 grub configfile (hd0,3)/grub/grub.conf

grub configfile (hd0,1)/grub/grub.conf # /dev/hda2

Error 18: Selected cylinder exceeds maximum supported
by BIOS 

has this anything to do with LBA being off in POST
-- it *is* set to [auto] in the BIOS? BTW, HD is
listed in POST screen thus:

Pri Master: Maxtor 4R12010 RAMBIUU0 Ultra DMA Mode -6
S.M.A.R.T Capable and Status OK

 Try 2 (locate the config file, use that if found. 
 Replace X,X with the
 numbers reported by find):
 grub find /grub/grub.conf

grub find /grub/grub.conf
Error 15: File not found

grub find /boot/grub/grub.conf
Ditto

 grub kernel (hd0,1)/vmlinuz # /dev/hda2
 grub boot

Error 18

 
 Let me know how it goes!

Done!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread Zac Medico
maxim wexler wrote:
 Went through the saved pile and found this:
 
 
Try 1 (should bring up the boot menu):
grub configfile (hd0,3)/grub/grub.conf
 
 
 grub configfile (hd0,1)/grub/grub.conf # /dev/hda2
 
 Error 18: Selected cylinder exceeds maximum supported
 by BIOS 
 
 has this anything to do with LBA being off in POST
 -- it *is* set to [auto] in the BIOS? BTW, HD is
 listed in POST screen thus:
 
 Pri Master: Maxtor 4R12010 RAMBIUU0 Ultra DMA Mode -6
 S.M.A.R.T Capable and Status OK
 
 

Maybe if you turn on LBA it will help.  It says here that grub can access the 
full disk with LBA:

http://www.gnu.org/software/grub/manual/html_node/Features.html

You might need to use the --force-lba option:

http://www.gnu.org/software/grub/manual/html_node/setup.html

Try 2 (locate the config file, use that if found. 
Replace X,X with the
numbers reported by find):
grub find /grub/grub.conf
 
 
 grub find /grub/grub.conf
 Error 15: File not found
 
 grub find /boot/grub/grub.conf
 Ditto
 
 
grub kernel (hd0,1)/vmlinuz # /dev/hda2
grub boot
 
 
 Error 18
 
 
Let me know how it goes!
 
 
 Done!
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread Richard Fish
maxim wexler wrote:

grub configfile (hd0,1)/grub/grub.conf # /dev/hda2

Error 18: Selected cylinder exceeds maximum supported
by BIOS 

has this anything to do with LBA being off in POST
-- it *is* set to [auto] in the BIOS? BTW, HD is
listed in POST screen thus:

Pri Master: Maxtor 4R12010 RAMBIUU0 Ultra DMA Mode -6
S.M.A.R.T Capable and Status OK
  


Yep.  Can you force LBA on?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread maxim wexler
 
 Yep.  Can you force LBA on?

Used grub-install --force-lba /dev/hda. After a bunch
of fd0 I/O errors(?) it said everything was fine, no
errors found. Then I rebooted, got:

GRUB Loading stage1.5

GRUB loading, please wait...
Error 17

Installing to /dev/hda2, the gentoo boot part, gave
same result

Well, at least now it gives me an error num.

Yes, using the latest 0.96 grub.

Funny, have an older 3.5G HD formatted fat32 as pri.
slave and in the POST screen LBA is listed as On for
it. Whereas the 120G Maxtor is brand new.










__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread maxim wexler

  -- it *is* set to [auto] in the BIOS? BTW, HD is


 Maybe if you turn on LBA it will help.  It says here
 that grub can access the full disk with LBA:

see above. In the BIOS there are two choices, auto and
disabled. If there's another way to turn LBA on, I'm
all ears!
 
 
 You might need to use the --force-lba option:

been there, done that

 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread maxim wexler
 Error 17
 
 Installing to /dev/hda2, the gentoo boot part, gave
 same result
 
 Well, at least now it gives me an error num.

...answering himself

17 : Cannot mount selected partition 
This error is returned if the partition requested
exists, but the filesystem type cannot be recognized
by GRUB. 

This reminds me. When I installed 2005.0(sempron-box)
I tried to mkreiserfs /dev/hda2, the boot partition,
since that gave no problem in 2004.3(k6-box)but it
gave me some sort of error, forget which, so I went
for the default, or anyways, the suggestion in the
manual, ext2, so maybe there is a problem with the fs.
Perhaps if I just re-formatted /boot and re-emerge
grub. Or, at least check the fs. Come to think about
it, the sempron seems to find it easier reading the
floppy than the hd. What d'ya think people? And what
*was* that mysterious error all about anyway? Here's
another: if /dev/hda2 *is* corrupt, how comes it that
it can be read and written to without error?

Discuss :)




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread Mark Knecht
On 6/24/05, maxim wexler [EMAIL PROTECTED] wrote:
  Error 17
 
  Installing to /dev/hda2, the gentoo boot part, gave
  same result
 
  Well, at least now it gives me an error num.
 
 ...answering himself
 
 17 : Cannot mount selected partition
 This error is returned if the partition requested
 exists, but the filesystem type cannot be recognized
 by GRUB.
 
 This reminds me. When I installed 2005.0(sempron-box)
 I tried to mkreiserfs /dev/hda2, the boot partition,
 since that gave no problem in 2004.3(k6-box)but it
 gave me some sort of error, forget which, so I went
 for the default, or anyways, the suggestion in the
 manual, ext2, so maybe there is a problem with the fs.
 Perhaps if I just re-formatted /boot and re-emerge
 grub. Or, at least check the fs. Come to think about
 it, the sempron seems to find it easier reading the
 floppy than the hd. What d'ya think people? And what
 *was* that mysterious error all about anyway? Here's
 another: if /dev/hda2 *is* corrupt, how comes it that
 it can be read and written to without error?
 
 Discuss :)
 

I would only offer that Error 17 is Error 17. It couldn't mount the
partition. Any number of possible reasons for that.

I once had a problem somewhat like you are suffering through because I
had tried to install grub, made some mistake I never understood (it
was only my second Gentoo machine) and then installed Gentoo a second
time. The outcome of that problem was that the BIOS was jumping to the
wrong partition and then going haywire. I kept looking at all the
config files and thought everything was right but grub wasn't finding
them. That one was only fixed by completely removing all partitions
from the drive and starting over.

If you were to consider this as an option then I'd turn the Gentoo
install upside down and, using the 2005.0 Universal CD, install grub
first - before the main install - just as a test. Get it on the
eventual boot partition and throw any old kernel on there and see what
happens. Use the manual grub install - it's only 3 instructions and
one is quit. Couldn't be easier. If grub manages to get the boot
started then there's no major incompatibility here and you're just
dealing with some mistake that may never be understood, as in my case.
If it won't boot (Error 17 again)
then it's good data as you'll likely look for a different solution.

I've also suffered though one grub problem wherein grub said the drive
was hd0 but it ended up being /dev/hde. However that problem at least
allowed the machine to start booting and then not find the drive after
the kernel was loaded. I think that's not the problem you're having.

Also, I'm sorry, but I didn't follow the first part of this thread. If
you want to contact me off-line to discuss any of the machine's
configuration please feel free to not waste everyone elses bandwidth.

cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread A. Khattri
On Fri, 24 Jun 2005, maxim wexler wrote:

 This reminds me. When I installed 2005.0(sempron-box)
 I tried to mkreiserfs /dev/hda2, the boot partition,
 since that gave no problem in 2004.3(k6-box)but it
 gave me some sort of error, forget which, so I went
 for the default, or anyways, the suggestion in the
 manual, ext2, so maybe there is a problem with the fs.

You should leave /boot as an ext2 partition. My guess is that grub only
understands ext2 file-systems so can't work with your boot partition.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke--update

2005-06-24 Thread Holly Bostick
maxim wexler schreef:
Error 17

Installing to /dev/hda2, the gentoo boot part, gave
same result

Well, at least now it gives me an error num.
 
 
 ...answering himself
 
 17 : Cannot mount selected partition 
 This error is returned if the partition requested
 exists, but the filesystem type cannot be recognized
 by GRUB. 
 
 This reminds me. When I installed 2005.0(sempron-box)
 I tried to mkreiserfs /dev/hda2, the boot partition,
 since that gave no problem in 2004.3(k6-box)but it
 gave me some sort of error, forget which, so I went
 for the default, or anyways, the suggestion in the
 manual, ext2, so maybe there is a problem with the fs.
 Perhaps if I just re-formatted /boot and re-emerge
 grub. Or, at least check the fs. Come to think about
 it, the sempron seems to find it easier reading the
 floppy than the hd. What d'ya think people? And what
 *was* that mysterious error all about anyway? Here's
 another: if /dev/hda2 *is* corrupt, how comes it that
 it can be read and written to without error?
 
 Discuss :)
 
 

Now, this, I *know* I said like ages ago (June 1st, actually)

Holly Bostick schreef:
 maxim wexler schreef:

And which OS are you choosing from the menu again,
maxim (assuming you
get to a menu)? Or does this affect all OSes in your
menu?


no choice. After grub-install I get the

Grub loading stage1.5
Grub loading, please wait...

message(white text,black bg). To get back to
Macroshaft I boot into a Win98 CD and run fdisk /mbr



 Ok, now I've got it. The menu doesn't load at all.

 But your previous post as to formatting the /boot partition made me
 think of something I had problems like that some time ago, back
 when I first installed my first Gentoo.

 Basically what had happened was I got weird and unattributable errors
 due to my filesystem not being correctly formatted. It was supposed to
 be formatted, and files were installed to it and everything, but
 filesizes were being reported differently by different tools and
 things just didn't work properly.

 What I wound up doing was using qtparted to delete the filesystem and
 reformat it. Once the filesystem on the disk was the same as the
 filesystem that the disk thought it had, everything worked fine.

 Now, I seem to recall having heard that it is possible to delete and
 reformat a filesystem without deleting the partition (or damaging the
 files thereon), but I didn't know enough at the time to do that, so I
 just deleted the entire partition and recreated it.

 Since this is /boot, it won't be a tragedy to delete the partition,
 recreate, format it as ext2 from the start and reinstall grub. But
 maybe there's a way that you can just reformat the existing partition
 (again) as ext2, so that it takes. You might still have to reinstall
 grub anyway, however at this point that seems like the least of your 
 worries :-) .


By diverse means, we arrive at the same end.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-19 Thread Richard Fish
maxim wexler wrote:

 Or maybe the selected shell didn't initialize,
 including grub's if this
 is at that point?


 Then I realised the one word GRUB appearing in upper
 left corner of the screen is just a truncated version
 of the above. 


Ah, ok, I see now.  It looks like the stage1 loader in the MBR prints
out the 'GRUB ' part of the message before it starts probing the disk
looking for the stage1.5 or stage2 loader.  The rest of that line is
supposed to be filled in by the stage1.5/stage2.  So, apparently we have
the same basic problem...neither stage1 nor stage1.5 can pull your
stage2 file in.

I was really, really, really hoping that was a 'grub ' prompt! :-(

So it look like we have to go back to trying to get the CD booting to
work.  Copy the /lib/grub/i386-pc/stage2_eltorito to the boot/grub
directory on the ISO image, re-run the mkisofs command we used before,
and burn the resulting ISO to a CD.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-19 Thread maxim wexler
 So it look like we have to go back to trying to get
 the CD booting to
 work.  Copy the /lib/grub/i386-pc/stage2_eltorito to
 the boot/grub
 directory on the ISO image, re-run the mkisofs
 command we used before,
 and burn the resulting ISO to a CD.

Before that. I used emerge --buildpkgonly from
k6/gentoo to get a binary of pppconfig so now I can
use pon/poff from my sempron/gentoo2005.0 box. I'm 
hoping that will give me some sort of advantage to
solving this boot problem over moving files between
machines but I don't know what that might be. 



 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-18 Thread Richard Fish
maxim wexler wrote:

 Is /etc/make.profile correct? It should be symbolic
 link to
 ../usr/portage/profiles/default-linux/x86/2005.0


 It is but it links to 2004.3, which is what I used on
 the k6. The sempron uses 2005.0


If the directory /usr/portage/profiles/default-linux/x86/2005.0 exists,
you can change the symlink to point to that, run emerge --sync, and that
should get your portage tree up to date on the k6.

 at that grub prompt (the one you get from booting):


 But it's a dead console. The caps lock key and the num
 lock key turn the leds on and off but typing letters
 does nothing.


I've been trying to come up with a reasonable explanation for this
behavior.  Assuming that you can enter the BIOS setup screens with this
keyboard, I have no answer to why this wouldn't work.

Is this a USB keyboard by chance?  If so, can you try a PS/2 keyboard
and see if you get different results?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-18 Thread Holly Bostick
Richard Fish schreef:
 maxim wexler wrote:

But it's a dead console. The caps lock key and the num
lock key turn the leds on and off but typing letters
does nothing.
 
 
 
 I've been trying to come up with a reasonable explanation for this
 behavior.  

OK, it may not be a reasonable explanation, but it does make 'sense'--
is it possible that the text color is the same as the background color,
so that letters are being typed, but you simply don't *see* them? I
don't have the faintest clue how one would manage this, but the thing
is, if hitting CapsLock and NumLock has visible results, *the keyboard
is working*, afaik. So presumably typing letters is working as well.

Just an idea,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-18 Thread maxim wexler
 
 I've been trying to come up with a reasonable
 explanation for this
 behavior.  Assuming that you can enter the BIOS
somewhere in the code there must be a line that says
print the letters G-R-U-B to a console then stop.
 setup screens with this
 keyboard, I have no answer to why this wouldn't
 work.
 
 Is this a USB keyboard by chance?  

ps/2





 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-18 Thread maxim wexler
 OK, it may not be a reasonable explanation, but it
 does make 'sense'--
 is it possible that the text color is the same as
 the background color,
 so that letters are being typed, but you simply
 don't *see* them? I
 LOL Yeah, it's invisible ascii! You have to heat the
screen with a blow-dryer to see it!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-18 Thread maxim wexler

 /usr/portage/profiles/default-linux/x86/2005.0
 exists,
 you can change the symlink to point to that, run
 emerge --sync, and that
 should get your portage tree up to date on the k6.

Done. Now it's

!!! ARCH is not set ... are you missing the
/etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree
complete?

No, yes and How do I tell? 

I ran emerge --sync until it said it was done, after
about two hrs, then it started up at another address
and on different hdware. I hit ctrl-c. Should I have
just let it continue?



__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-15 Thread maxim wexler
Thanks for hanging in there with me, Richard
 Anyway, back to grub.  2 things.
 upgrade to 0.96, repeat
If I could setup ppp on the sempron box it would be
much simpler. But pppconfig is not on the 2005.0 pkg
CD. I managed to set it up on the k6(2004.3)box
alright and it sure came in handy. IIRC I simply
downloaded the files emerge called for on another
machine. Then I used it to wget the tarball that
emerge -av, on the sempron box, says it needs,
pppconfig-2.3.9, and copied it to a floppy. I put that
in /usr/portage/distfiles on the sempron box but
emerge continues to ask for it.




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-15 Thread Richard Fish
maxim wexler wrote:

 Thanks for hanging in there with me, Richard


No problem.

 Anyway, back to grub. 2 things.
 upgrade to 0.96, repeat

 machine. Then I used it to wget the tarball that
 emerge -av, on the sempron box, says it needs,
 pppconfig-2.3.9, and copied it to a floppy. I put that
 in /usr/portage/distfiles on the sempron box but
 emerge continues to ask for it.


Here is a function to help with this.  It will only show you the things
that you don't already have in distfiles, so it will be best to run on
the sempron.

mw_what_dist() {
  emerge -Dvp --fetchonly $@ 21 \
| grep / \
| awk '{ print $1 }' \
| while read line; do
  bn=`basename $line`
  test -f /usr/portage/distfiles/$bn || echo $line
done
}

You can copy-n-paste that to your .bashrc then . ~/.bashrc and you
will have the mw_what_dist function.  When I run it on pppconfig, I get:

carcharias ~ # ACCEPT_KEYWORDS=-~x86 mw_what_dist pppconfig
http://mirror.datapipe.net/gentoo/distfiles/ppp-2.4.2.tar.gz
http://mirror.datapipe.net/gentoo/distfiles/ppp-2.4.2-patches-20050514.tar.gz
http://mirror.datapipe.net/gentoo/distfiles/pppconfig_2.3.11.tar.gz

Unfortunately, 2.3.9 doesn't show up in portage anymore, so I can't show
you that directly!

More to the point of getting grub, you could also build a binary package
of grub on the other system, and transfer that over via floppy.  The
binary package for grub looks like it would be about ~440k.  Don't worry
about CFLAGS not matching, they get removed by the grub ebuild in any case.

emerge --buildpkgonly --oneshot grub should do for the build, which
will end up creating a archive in /usr/portage/packages.  Move it to the
same location on the sempron, and use emerge --usepkgonly to install it.

Although, you may be in desperate need of an emerge --sync, so you may
have to fight with pppconfig for a little while.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-15 Thread maxim wexler

 emerge --buildpkgonly --oneshot grub should do for

well, it built the .94 version, the one I already
have. All the while interspersing yellow-flagged
warnings about upgrading to a version that uses
tool-chain functions. Is that the one I need? How do I
tell it to build the .96? I've run merge --sync a
couple of times for many hours. According to $ls -l
/usr/portage/sys-boot/files was updated but only w/
grub-0.95-20040823. So why didn't it build .95? Is it
possible to sync just certain pkges. 

BTW, the suggestion to mv -v ../e2fs_stage1_5 got me
to a console with the lone word GRUB in one corner
then nothing.





__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-15 Thread Richard Fish
maxim wexler wrote:

 well, it built the .94 version, the one I already
 have. All the while interspersing yellow-flagged
 warnings about upgrading to a version that uses
 tool-chain functions. Is that the one I need? How do I
 tell it to build the .96? I've run merge --sync a
 couple of times for many hours. According to $ls -l
 /usr/portage/sys-boot/files was updated but only w/
 grub-0.95-20040823. So why didn't it build .95? 


I assume you meant the directory ls -l /usr/portage/sys-boot/grub? 
Well, the 0.95-20040823 ebuild is masked ~x86 (testing).  But you should
also have 0.96, 0.96-r1, and 0.96-r2, and 0.96-r1 is marked stable.

Do you get a different result if you do:

ACCEPT_KEYWORDS=~x86 emerge --buildpkgonly --pretend grub

Is /etc/make.profile correct?  It should be symbolic link to
../usr/portage/profiles/default-linux/x86/2005.0

 BTW, the suggestion to mv -v ../e2fs_stage1_5 got me
 to a console with the lone word GRUB in one corner
 then nothing.


That is very, very good news!!  That means the stage2 loaded, but it
didn't find your config file.  Booting should work.  Try the following
at that grub prompt (the one you get from booting):

Try 1 (should bring up the boot menu):
grub configfile (hd0,3)/grub/grub.conf

Try 2 (locate the config file, use that if found.  Replace X,X with the
numbers reported by find):
grub find /grub/grub.conf
grub (hdX,X)/grub/grub.conf

Try 3 (booting without a menu, use the actual name of your kernel file
instead of vmlinuz)
grub kernel (hd0,3)/vmlinuz
grub boot

Let me know how it goes!

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-14 Thread Richard Fish
maxim wexler wrote:

 Arrrgh, everytime I hit forward-slash or an
 apostrophe the find dialogue opens and
 Iapostrophem knocked out of this text window.
 Firefox v.1.0.4


That's not normal.  If this is on Linux, possibly an extension you have
installed is a problem, or there is some breakage in your ~/.gtkrc-2.0
file?  Something like setting 'vi' mode for all gtk text entry widgets
might do this to you...

Anyway, back to grub.  2 things.

1. First, looking through the grub sources, I found the following in the
NEWS file:

-
New in 0.95 - 2004-06-13:
* Add support for ReiserFS 3.
* Fix support for FreeBSD 5.
* Support ATARAID for Linux in the grub shell and grub-install.
* Add CDROM support for El Torito with no emulation mode. You can use
  (cd) as a CDROM drive in the config file.
* Option --no-mem-option is implied for Linux 2.4.18 and newer.
* Add support for UFS2.
-

So, the 'no emulation' mode of booting from CD was added in 0.95.  I
seem to remember you were running 0.94?  If so, upgrade to 0.96, repeat
the steps to create the ISO, and that should fix the problem.  Most
important is don't forget to update the boot/grub/stage2_eltorito file
with the one in the /lib/grub/i386-pc directory.

At this point, I must apologize.  Someone recommended a few hundred
messages ago (it seems) to download grub directly from gnu.org and
compile it directly.  Although there is nothing wrong with the ebuild
for 0.96, that would have avoided this particular problem.

2. If you followed the thread Reboot when GRUB starts, you might have
noticed a workaround that I don't think we tried for booting off the
hard disk.  That is to rename the /boot/grub/e2fs_stage1_5 file, and
then to re-run the grub setup commands.  That will cause block mapping
of the stage2 file in the stage1, and might be an effective workaround
for your system.  IIRC, your boot is /dev/hda4, so that would be:

# mv -v /boot/grub/e2fs_stage1_5 /boot/grub/e2fs_stage1_5.sav
# grub
grub root (hd0,3)
...
grub setup (hd0)
...
grub quit

The output of setup should show that the e2fs_stage1_5 file doesn't
exist, but the install line should still end with succeeded.

-Richard


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-13 Thread maxim wexler

 If you have a FAT partition for sharing files
 between Linux and XP, you
Done. Same result. Perhaps the call to mkisofs was at fault.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-13 Thread Richard Fish
maxim wexler wrote:

If you have a FAT partition for sharing files
between Linux and XP, you


Done. Same result. Perhaps the call to mkisofs was at fault.

  


What happens if you try to mount it under Linux or view it under
Windows?  Do you see the files?

You can double check the ISO by doing:

# mount -o loop cdboot.iso /mnt/cdrom

And then compare the files to those on your /boot partition.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-13 Thread maxim wexler


 What happens if you try to mount it under Linux or
 view it under
 Windows?  Do you see the files?
 
 You can double check the ISO by doing:
 
 # mount -o loop cdboot.iso /mnt/cdrom
 
 And then compare the files to those on your /boot
 partition.
hmmm, 

livecd / # mount -o loop cdboot.iso /cdrom
cdboot.iso: Mo such file or directory

but,

livecd / # ls -l /cdrom
total 4
drwxr-xr-x  3 root root 2048 Jun  6 14:23 boot
-r--r--r--  1 root root 2048 Jun  9 09:26 boot.catalog
livecd / # ls -l /cdrom/boot
total 1538
drwxr-xr-x  2 root root2048 Jun  6 14:29 grub
-rw-r--r--  1 root root 1572135 Jun  6 14:23 vmlinuz
livecd / # ls -l /cdrom/boot/grub
total 168
-rw-r--r--  1 root root174 Jun  7 08:05 menu.lst
-rw-r--r--  1 root root  33856 Jun  6 14:27
splash.xpm.gz
-rw-r--r--  1 root root 137004 Jun  6 14:26
stage2_eltorito

and,

livecd / # ls -l /tmp
total 2074
drwxr-xr-x  3 root root  72 Jun  7 20:01 cdboot
-rw-r--r--  1 root root 2113536 Jun  9 09:26
cdboot.iso
-rwxr--r--  1 root root2211 May 26 14:05
grub-2005.0
-rw-r--r--  1 root root 375 May 26 14:21
grub-setup
livecd / # ls -l /tmp/cdboot
total 0
drwxr-xr-x 3 root root 96 Jun 6 14:23 boot
livecd / # ls -l /tmp/cdboot/boot
total 1538
drwxr-xr-x 2 root root   136 Jun 6 14:29 grub
-rw-r--r-- 1 root root 1572135 Jun 6 14:23 vmlinuz
livecd / # ls /tmp/cdboot/boot/grub
menu.list splash.xpm.gz stage2_eltorito

As for /boot, there's no(well, very little) comparison
at all. Besides I thought all I needed was the stuff
we put under /tmp.

Arrrgh, everytime I hit forward-slash or an
apostrophe the find dialogue opens and
Iapostrophem knocked out of this text window.
Firefox v.1.0.4

 
 -Richard
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 




__ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-10 Thread Neil Bothwick
On Thu, 09 Jun 2005 22:27:05 +0200, Richard Fish wrote:

 If so, then we are ready to proceed with burning.  Here is the command
 that I use:
 
 cdrecord dev=/dev/cdrom -immed -eject driveropt=burnfree file.iso
 
 If your drive doesn't support burnfree, just take out the whole
 driveropt=burnfree part.

You can put a lot of this into /etc/defaults/cdrecord, to save (mis)
typing it every time.

 But, something just occurred to medoes this system have 2 CD
 burners, or a burner and a reader?  If not, you will have much trouble
 to burn a CD while running off the live cd.

There is a boot option to copy the contents of the live CD to a RAMdisk,
something like docache, which allows you to eject the CD after booting.
It also makes working from the live CD a lot faster, eliminating those
annoying delays as it searches the CD for a command.


-- 
Neil Bothwick

I do not like this dumb machine
I really ought to sell it.
It never does just what I want
But only what I tell it.


pgpAi5LHfjgaD.pgp
Description: PGP signature


Re: [gentoo-user] grub still broke

2005-06-10 Thread maxim wexler


--- Richard Fish [EMAIL PROTECTED] wrote:

 The correction was to replace dev=/dev/cdrom with
 dev=/dev/hdc.

COASTER! 

Tried booting with the reader drive(Creative 24x DVD)
-- it went clunk, clunk, clunk...nothing appeared on
the screen but a blinking cursor.

Tried booting with the writer drive(the Lite-on) -- no
clunking but just a tiny, rectangular happy face next
to a blinking cursor at the bottom, middle of the
screen.

Oh, and I see the unit's crashed into the bargain
groan But I *was* able to retrieve the CD, curious.



__ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-10 Thread Richard Fish
Neil Bothwick wrote:

You can put a lot of this into /etc/defaults/cdrecord, to save (mis)
typing it every time.

  


Cool, thanks.

-Richard


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-10 Thread Richard Fish
maxim wexler wrote:

 COASTER!


Well, you could try again adding speed=0 to the command, before the
name of the ISO.  That will drop the burning speed to the lowest
possible level, and may be more reliably.  But maybe your burner is
broken (?)

So, this friend of yours with the broadband and the working burner...are
you planning on seeing him/her soon? ;-

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-10 Thread maxim wexler

 possible level, and may be more reliably.  But maybe
 your burner is
 broken (?)

No, it's fine. Still under warranty. Works fine under
WinXP. The reason I mentioned broadband is because big
files(like install isos and pkg cds) can be downloaded
in minutes instead of days. I can certainly download
and burn small(ish) files using my home kit and my
trusty old 56kUSR ext modem(after squeezing a signal
through 8 mi of phone line!) -- as long as I do it in
WinXP; remember? it occupies /dev/hda1. I can even
emerge stuff from the net with gentoo up; it's just
that during all this downloading and emerging there is
no phone. 

Perhaps our correspondent's grub update plan is the
way to go. Does emerge know enough to re  re grub
without leaving too many loose ends.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-10 Thread Richard Fish
maxim wexler wrote:

 possible level, and may be more reliably. But maybe
 your burner is
 broken (?)


 No, it's fine. Still under warranty. Works fine under
 WinXP. 


If you have a FAT partition for sharing files between Linux and XP, you
could copy the ISO to there and burn it under XP.  A USB flash memory
device would also work for the transfer.

 Perhaps our correspondent's grub update plan is the
 way to go. Does emerge know enough to re  re grub
 without leaving too many loose ends.


You are certainly welcome to try, whether it is download the source
directly from gnu.org or upgrading via emerge.  I have my doubts as to
whether that will help any though.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-09 Thread maxim wexler

 You typod something.  Looks like you put a space
 between the '-' and the
 first character of one of the options.

Success! 

 these files included.  You then use cdrecord to
 write the ISO image to
 the CD.

Now, before burning it, I'm aware there have been
changes made in the burning process since the 2.6
kernel. My experience using cdrecord has only been
wtth 2.4's, all coaster-making events :( From what
I've seen on line it should be as easy as 

#cdrecord /dev/hdc/file .

Ha! Fat chance! Could you please append some pointers?

Here's my hardware info:  

livecd cdboot # ls -l /dev/hdc
  -brw-rw  1 root  disk 22, 0 Mar 10 17:47
/dev/hdc

livecd cdboot # dmesg
hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache,
UDMA(33)
 
livecd cdboot # less /etc/fstab
/dev/hdc/cdrom  auto  
 noauto,user 0 0



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-09 Thread Richard Fish
maxim wexler wrote:

Now, before burning it, I'm aware there have been
changes made in the burning process since the 2.6
kernel. My experience using cdrecord has only been
wtth 2.4's, all coaster-making events :( From what
I've seen on line it should be as easy as 

#cdrecord /dev/hdc/file .

Ha! Fat chance! Could you please append some pointers?

  


Sure, first I would do:

cdrecord -checkdrive dev=/dev/hdc -vv

This will output a bunch of stuff.  Towards the end, you should see
something like this:


Drive current speed: 16
Drive default speed: 16
Drive max speed: 16
Selected speed : 16
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 1605888 = 1568 KB

If so, then we are ready to proceed with burning.  Here is the command
that I use:

cdrecord dev=/dev/cdrom -immed -eject driveropt=burnfree file.iso

If your drive doesn't support burnfree, just take out the whole
driveropt=burnfree part.

But, something just occurred to medoes this system have 2 CD
burners, or a burner and a reader?  If not, you will have much trouble
to burn a CD while running off the live cd.

You may want to copy the .iso file over the network or to a USB key, and
burn it on another system.  Any windows software should also be able to
burn an ISO without much trouble.  Just make sure you open the ISO as a
'project', don't add it as a file to a new project...in other words, if
you see tmp.iso in a list of files somewhere, you went the wrong way.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-09 Thread Richard Fish
Richard Fish wrote:

 cdrecord dev=/dev/cdrom -immed -eject driveropt=burnfree file.iso


Sorry, it is getting late here.

For you, that command line should be:

cdrecord dev=/dev/hdc -immed -eject driveropt=burnfree file.iso

Someday I will proofread my messages before posting...

-RIchard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-09 Thread maxim wexler
 But, something just occurred to medoes this
 system have 2 CD
 burners, or a burner and a reader?  If not, you will

a burner and a reader

 
 You may want to copy the .iso file over the network

only dial-up available here. Networking different
computers is a project in the long queue of
things-to-do stretching away from just getting this
install up and running.

 or to a USB key, and

don't even know what that is

 burn it on another system.  Any windows software
 should also be able to
 burn an ISO without much trouble.  Just make sure

This will be my first foray into command-line CD
burning since my last miserable attempts. I used Roxio
to burn the install iso after copying it onto a
friend's machine who has broadband but no linux. 





__ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-09 Thread maxim wexler
Richard, please resend your follow up to this post
where you complain about the late hour. I deleted it
by mistake! It apparently had an important correction.

BTW, how long before these posts find there way into
an archive.

-maxim



__ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-09 Thread Richard Fish
maxim wexler wrote:

or to a USB key, and



don't even know what that is

  


Also goes by the name USB flash device...small devices that could fit
on a keychain (hence the 'key' part of that) that work like a small
removable disk.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-08 Thread maxim wexler
 'cdboot/boot/grub/stage2_eltorito' !
   
 
 
 That should be -b boot/grub/stage2_eltorito...so
 take the 'cdboot' off
 the front of that.

Nope. Now I get:

mkisofs: No such file or directory. Invalid node - -

But I have another question: At what point does
vmlinuz(under /tmp/cdboot/boot)make it onto the CD?
The path to stage2_eltorito seems to pass it by.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-08 Thread Richard Fish
maxim wexler wrote:

'cdboot/boot/grub/stage2_eltorito' !
 

  

That should be -b boot/grub/stage2_eltorito...so
take the 'cdboot' off
the front of that.



Nope. Now I get:

mkisofs: No such file or directory. Invalid node - -
  


You typod something.  Looks like you put a space between the '-' and the
first character of one of the options.

# mkisofs - o /tmp/tmp.iso ./
mkisofs: No such file or directory. Invalid node - -

# mkisofs -o /tmp/tmp.iso ./
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 4096
Path table size(bytes): 34
Max brk space used 21000
1064 extents written (2 MB)


But I have another question: At what point does
vmlinuz(under /tmp/cdboot/boot)make it onto the CD?
The path to stage2_eltorito seems to pass it by.
  


When you run mkisofs, it creates an ISO (cdrom filesystem) image with
all of the files in the cdboot directory.  So, for example
carcharias cdboot # find *
./boot
./boot/grub
./boot/grub/stage2_eltorito
./boot/grub/menu.lst
./boot/grub/splash.xpm.gz
./boot/vmlinuz

Running mkisofs from this directory will create an ISO image with all of
these files included.  You then use cdrecord to write the ISO image to
the CD.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-07 Thread maxim wexler


 mkisofs -o /tmp/cdboot.iso -R \
 -b boot/grub/stage2_eltorito \
 -no-emul-boot -boot-load-size 4 -boot-info-table
 \
Not it's:

mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

You didn't say return to /  so I'm assuming you want
me  to issue the command from livecd tmp #. Also, I
added 'cdboot' to the second line, ie -b
cdboot/boot/grub/..  since 

livecd tmp # ls 
cdboot grub-2005.0 grub-setup

and got the same error.





__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-07 Thread Richard Fish
maxim wexler wrote:

  

mkisofs -o /tmp/cdboot.iso -R \
-b boot/grub/stage2_eltorito \
-no-emul-boot -boot-load-size 4 -boot-info-table
\


Not it's:

mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

  


There be a '.' (or './', if you like) at the end of that, and yes, you
should still be inside the cdboot directory.

cd cdboot
mkisofs -o /tmp/cdboot.iso -R \
-b boot/grub/stage2_eltorito \
-no-emul-boot -boot-load-size 4 \
-boot-info-table ./

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-07 Thread maxim wexler



 
 There be a '.' (or './', if you like) at the end of
 that, and yes, you
 should still be inside the cdboot directory.
 
 cd cdboot
 mkisofs -o /tmp/cdboot.iso -R \
 -b boot/grub/stage2_eltorito \
 -no-emul-boot -boot-load-size 4 \
 -boot-info-table ./


Here's 5 different attempts and their results:

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table
mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

Use mkisofs -help
to get a list of valid options.

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table .
mkisofs: Uh oh, I cant find the boot image
'cdboot/boot/grub/stage2_eltorito' !

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table
./
mkisofs: Uh oh, I cant find the boot image
'cdboot/boot/grub/stage2_eltorito' !

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table '.'
mkisofs: Uh oh, I cant find the boot image
'cdboot/boot/grub/stage2_eltorito' !

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table
'./'
mkisofs: Uh oh, I cant find the boot image
'cdboot/boot/grub/stage2_eltorito' !


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-07 Thread Zac Medico


--- maxim wexler [EMAIL PROTECTED] wrote:

 
 
 
  
  There be a '.' (or './', if you like) at the end
 of
  that, and yes, you
  should still be inside the cdboot directory.
  
  cd cdboot
  mkisofs -o /tmp/cdboot.iso -R \
  -b boot/grub/stage2_eltorito \
  -no-emul-boot -boot-load-size 4 \
  -boot-info-table ./
 
 
 Here's 5 different attempts and their results:
 
 livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
 cdboot/boot/grub/stage2_eltorit
 o -no-emul-boot -boot-load-size 4 -boot-info-table
 mkisofs: Missing pathspec.
 Usage: mkisofs [options] file...
 
 Use mkisofs -help
 to get a list of valid options.
 
 livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
 cdboot/boot/grub/stage2_eltorit
 o -no-emul-boot -boot-load-size 4 -boot-info-table .
 mkisofs: Uh oh, I cant find the boot image
 'cdboot/boot/grub/stage2_eltorito' !
 
 livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
 cdboot/boot/grub/stage2_eltorit
 o -no-emul-boot -boot-load-size 4 -boot-info-table
 ./
 mkisofs: Uh oh, I cant find the boot image
 'cdboot/boot/grub/stage2_eltorito' !
 
 livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
 cdboot/boot/grub/stage2_eltorit
 o -no-emul-boot -boot-load-size 4 -boot-info-table
 '.'
 mkisofs: Uh oh, I cant find the boot image
 'cdboot/boot/grub/stage2_eltorito' !
 
 livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
 cdboot/boot/grub/stage2_eltorit
 o -no-emul-boot -boot-load-size 4 -boot-info-table
 './'
 mkisofs: Uh oh, I cant find the boot image
 'cdboot/boot/grub/stage2_eltorito' !
 

It looks like your current working directory is
cdboot.  In that case the relative path to the boot
image would be boot/grub/stage2_eltorito (not
cdboot/boot/grub/stage2_eltorito).

Zac



__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-07 Thread Richard Fish
maxim wexler wrote:

There be a '.' (or './', if you like) at the end of
that, and yes, you
should still be inside the cdboot directory.

cd cdboot
mkisofs -o /tmp/cdboot.iso -R \
-b boot/grub/stage2_eltorito \
-no-emul-boot -boot-load-size 4 \
-boot-info-table ./




Here's 5 different attempts and their results:

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table
mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

Use mkisofs -help
to get a list of valid options.

livecd cdboot # mkisofs -o /tmp/cdboot.iso -R -b
cdboot/boot/grub/stage2_eltorit
o -no-emul-boot -boot-load-size 4 -boot-info-table .
mkisofs: Uh oh, I cant find the boot image
'cdboot/boot/grub/stage2_eltorito' !
  


That should be -b boot/grub/stage2_eltorito...so take the 'cdboot' off
the front of that.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-06 Thread Richard Fish
maxim wexler wrote:

to copy your kernel
to the floppy also, and load it from there.  Your
kernel is going to
have to be fairly petite to fit...probably less than
1.2M or so. 


the kernel is  already 1.57M. Are you saying I should
reconfig the kernel? I recall modularizing most of the
stuff I wouldn't need until after the OS is up. Can
you suggest what to leave out? I seem to recall a
method of formatting a floppy 1,7M. But I didn't see
it in man fdformat or man mke2fs. Maybe a boot CD. But
that seems like a recipe for making coasters.

  


Well, things like usb, ieee1394, most filesystems (obviously you want to
keep ext2/3!), sound, and networking are the obvious choices for
becoming modules if they are not already.  If you want to post the
contents of the kernel config, I will take a look and see if anything
pops out at me.  The best command for this is probably:

grep -v ^# /usr/src/linux/.config | grep =y

This will return just those things that are compiled into the kernel,
not modules or unselected.

I can also give you the instructions for making a bootable CD if you
want to try that.  It isn't terribly hard, actually it is a bit easier
than getting grub to work from a hard disk!  But a CD-RW drive/disk
would be the most useful...

cd /tmp
mkdir -p cdboot/boot/grub
cd cdboot
cp /boot/vmlinuz boot/
cp /boot/grub/stage2_eltorito boot/grub/
cp /boot/grub/splash.xpm.gz boot/grub/
cp /boot/grub/grub.conf boot/grub/menu.lst

Notice that the grub.conf file *must* be renamed to menu.lst.  You will
also need to edit 'boot/grub/menu.lst', and change all (hd0,1)/grub to
(cd)/boot/grub.  The result should be something like:

splashimage=(cd)/boot/grub/splash.xpm.gz
title Gentoo
kernel (cd)/boot/vmlinuz root=/dev/hda4

Finally, to make the ISO, run (should all be on one line, without the
backslashes):

mkisofs -o /tmp/cdboot.iso -R \
-b boot/grub/stage2_eltorito \
-no-emul-boot -boot-load-size 4 -boot-info-table \
.

Burn /tmp/cdboot.iso to a CD-R[W], and you should be set.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-06 Thread maxim wexler

 I can also give you the instructions for making a
 bootable CD if you
 want to try that.  It isn't terribly hard, actually
 it is a bit easier
 than getting grub to work from a hard disk!  But a
 CD-RW drive/disk
 would be the most useful...
 
 cd /tmp
 mkdir -p cdboot/boot/grub
 cd cdboot
 cp /boot/vmlinuz boot/
 cp /boot/grub/stage2_eltorito boot/grub/
 cp /boot/grub/splash.xpm.gz boot/grub/
 cp /boot/grub/grub.conf boot/grub/menu.lst
 
 Notice that the grub.conf file *must* be renamed to
 menu.lst.  You will
 also need to edit 'boot/grub/menu.lst', and change
 all (hd0,1)/grub to
 (cd)/boot/grub.  The result should be something
 like:
 
 splashimage=(cd)/boot/grub/splash.xpm.gz
 title Gentoo
 kernel (cd)/boot/vmlinuz root=/dev/hda4
   ^
I'm guessing this should be (cdrom), my first
cd-drive(/dev/hdc)

Here's menu.lst, please check for errors:

default 0
timeout 30
splashimage=(cdrom)/boot/grub/splash.xpm.gz
title=Gentoo
#root (hd0,1)
kernel (cdrom)/boot/vmlinuz root=/dev/hda4
title=WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1

 
 Finally, to make the ISO, run (should all be on one
 line, without the
 backslashes):
 
 mkisofs -o /tmp/cdboot.iso -R \
 -b boot/grub/stage2_eltorito \
 -no-emul-boot -boot-load-size 4 -boot-info-table
 \
 .
 
 Burn /tmp/cdboot.iso to a CD-R[W], and you should be
 set.

What is the preferred method to burn a CD? cdrecord?
It's not on my system. Popped in the 2005,0 pkg CD and
did

#mount /cdrom
#export PKGDIR =/cdrom
#emerge -av --usepkg cdrecord

and got

emerge: there are no ebuilds to satisfy cdrecord

-mw



__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-06 Thread Richard Fish
maxim wexler wrote:

splashimage=(cd)/boot/grub/splash.xpm.gz
title Gentoo
kernel (cd)/boot/vmlinuz root=/dev/hda4


   ^
I'm guessing this should be (cdrom), my first
cd-drive(/dev/hdc)
  


No, it should be '(cd)'.  It is the device name that the stage2_eltorito
creates when it boots, and has nothing to do with the device names under
Linux at all.

Here's menu.lst, please check for errors:

default 0
timeout 30
splashimage=(cdrom)/boot/grub/splash.xpm.gz
title=Gentoo
#root (hd0,1)
kernel (cdrom)/boot/vmlinuz root=/dev/hda4
title=WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1

  


Hmm, just to be safe, take out the #root (hd0,1) line completely. 
Everything else looks ok though.

What is the preferred method to burn a CD? cdrecord?
It's not on my system. Popped in the 2005,0 pkg CD and
did
  


app-cdr/cdrtools contains cdrecord.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-05 Thread Holly Bostick
maxim wexler schreef:
Remove the root (hd0,1) line.  That should (I
hope) let you boot
gentoo from the floppy.
 
 
 
 Arrrgh! Now when I choose Gentoo from the menu:
 
 Booting 'Gentoo'
 kernel /vmlinuz root=/dev/hda4
 
 Error 15: File not found
 
 Press any key to continue...
 

You might want to have a look at the docs page... meaning,

Gentoo Linux Documentation -- Gentoo Grub Error Collection

at

http://www.gentoo.org/doc/en/grub-error-guide.xml

It looks like it might be quite helpful :-)

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-05 Thread rob3
Holly Bostick wrote:

maxim wexler schreef:
  

Remove the root (hd0,1) line.  That should (I
hope) let you boot
gentoo from the floppy.
  


Arrrgh! Now when I choose Gentoo from the menu:

Booting 'Gentoo'
kernel /vmlinuz root=/dev/hda4

Error 15: File not found

Press any key to continue...




You might want to have a look at the docs page... meaning,

Gentoo Linux Documentation -- Gentoo Grub Error Collection

at

http://www.gentoo.org/doc/en/grub-error-guide.xml

It looks like it might be quite helpful :-)

Holly
  

Hi Holly,

I still recommend that the problem child, so to speak, can be bypassed
by simply going to www.gnu.org, and downloading the latest source, and
compiling it outside of the Gentoo emerge system.  Then when Gentoo gets
its ebuild working, you can always go back, doing a search on grub, and
delete it.  Then emerge grub.

When I installed grub, I emerged it, but then I used the same install
floppy that I've been using for over a year now.  Perhaps that was my
secret to success, a real working floppy.

Rob.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-05 Thread Richard Fish
rob3 wrote:

I still recommend that the problem child, so to speak, can be bypassed
by simply going to www.gnu.org, and downloading the latest source, and
compiling it outside of the Gentoo emerge system.  Then when Gentoo gets
its ebuild working, you can always go back, doing a search on grub, and
delete it.  Then emerge grub.

When I installed grub, I emerged it, but then I used the same install
floppy that I've been using for over a year now.  Perhaps that was my
secret to success, a real working floppy.

Rob.
  



There are 2 distinct problems here:

1. Booting from floppyMaxim and I are very close to solving this
one...only fixing up the grub.conf file remains.  Rebuilding grub is not
going to help a bit for this problem.

2. Booting from HD.  This is more difficult, I strongly believe this is
because the stage 1.5 loader cannot read the stage2 due to where the
stage2 is on the hard disk and the limitations in addressing those
sectors through BIOS calls.  There /may/ be a workaround for this though
(by using --force-lba or the 'd' option to grub's install command).  It
/might/ also be a problem in the Gentoo build of grub, but I think that
is highly unlikely...

Has anybody had any luck using a /boot (or, if no separate /boot, then
'/') that is 60+GB from the beginning of the disk?  Has anybody tried?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-05 Thread maxim wexler

 There are 2 distinct problems here:
 
 1. Booting from floppyMaxim and I are very close
 to solving this
 one...only fixing up the grub.conf file remains. 
 Rebuilding grub is not
 going to help a bit for this problem.

In grub.conf commented out root(hd0,1) line; modified
kernel line to read:

kernel (hd0,1)/vmlinuz root=/dev/hda4

prepped a floppy and did a grub setup(fd0) as per
previous instructions.

Now it's 

  Booting 'Gentoo'
kernel (hd0,1)/vmlinuz root=/dev/hda4

then nothing, not even file not found. 

 (by using --force-lba or the 'd' option to grub's
 install command).  It

did that. No good.





__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-05 Thread Richard Fish
maxim wexler wrote:

There are 2 distinct problems here:

1. Booting from floppyMaxim and I are very close
to solving this
one...only fixing up the grub.conf file remains. 
Rebuilding grub is not
going to help a bit for this problem.



In grub.conf commented out root(hd0,1) line; modified
kernel line to read:

kernel (hd0,1)/vmlinuz root=/dev/hda4

prepped a floppy and did a grub setup(fd0) as per
previous instructions.

Now it's 

  Booting 'Gentoo'
kernel (hd0,1)/vmlinuz root=/dev/hda4

then nothing, not even file not found. 

  


Ok, I should have seen that coming.  If we can't load stage2 from /boot,
we can't load the kernel either.  So, we should try to copy your kernel
to the floppy also, and load it from there.  Your kernel is going to
have to be fairly petite to fit...probably less than 1.2M or so. 

Delete everything from the floppy that is _not_ in this list to make
room for the kernel:

/mnt/floppy/:
total 1
drwx--  2 root root 1024 Jun  2 17:36 grub

/mnt/floppy/grub:
total 144
-rw---  1 root root197 Aug 27  2004 default
-rw---  1 root root 45 Aug 24  2004 device.map
-rw---  1 root root285 Jun  2 17:35 grub.conf
lrwxrwxrwx  1 root root  9 Jun  2 17:37 menu.lst - grub.conf
-rw-r--r--  1 root root512 Jun  1 19:15 stage1
-rw-r--r--  1 root root 105544 Jun  1 19:15 stage2

Then, copy the kernel to the floopy:

cp -p /boot/vmlinuz /mnt/floppy

And finally, update the kernel line in grub.conf to read:

kernel (fd0)/vmlinuz root=/dev/hda4

Also, delete the splashimage= line from the grub.conf file on the floppy.

As long as you don't touch the stage2 file in this process, you should
not need to re-run the grub setup commands.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-05 Thread maxim wexler
 to copy your kernel
 to the floppy also, and load it from there.  Your
 kernel is going to
 have to be fairly petite to fit...probably less than
 1.2M or so. 
the kernel is  already 1.57M. Are you saying I should
reconfig the kernel? I recall modularizing most of the
stuff I wouldn't need until after the OS is up. Can
you suggest what to leave out? I seem to recall a
method of formatting a floppy 1,7M. But I didn't see
it in man fdformat or man mke2fs. Maybe a boot CD. But
that seems like a recipe for making coasters.





__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-04 Thread maxim wexler
 
 Remove the root (hd0,1) line.  That should (I
 hope) let you boot
 gentoo from the floppy.


Arrrgh! Now when I choose Gentoo from the menu:

Booting 'Gentoo'
kernel /vmlinuz root=/dev/hda4

Error 15: File not found

Press any key to continue...








__ 
Discover Yahoo! 
Have fun online with music videos, cool games, IM and more. Check it out! 
http://discover.yahoo.com/online.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-04 Thread Richard Fish
maxim wexler wrote:

Remove the root (hd0,1) line.  That should (I
hope) let you boot
gentoo from the floppy.




Arrrgh! Now when I choose Gentoo from the menu:

Booting 'Gentoo'
kernel /vmlinuz root=/dev/hda4

Error 15: File not found

Press any key to continue...

  


See my second message...I meant to say:

title Gentoo
kernel (hd0,1)/vmlinuz root=/dev/hda4

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-04 Thread Mark Knecht
kernel /boot/vmlinuz root=/dev/hda4   

or possibly 

kernel (hd0,0)/boot/vmlinuz root=/dev/hda4

which would be more the way I usually do it. 

On 6/4/05, maxim wexler [EMAIL PROTECTED] wrote:
  
  Remove the root (hd0,1) line.  That should (I
  hope) let you boot
  gentoo from the floppy.
 
 
 Arrrgh! Now when I choose Gentoo from the menu:
 
 Booting 'Gentoo'
 kernel /vmlinuz root=/dev/hda4
 
 Error 15: File not found
 
 Press any key to continue...
 
 
 
 
 
 
 
 
 __
 Discover Yahoo!
 Have fun online with music videos, cool games, IM and more. Check it out!
 http://discover.yahoo.com/online.html
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread Michael Ulm

maxim wexler wrote:


http://www.gnu.org/software/grub/grub-legacy-faq.en.html


HTH,

Michael



Thanks for the tip. But before I try this(and this
goes for Richard F's suggestion) how do I safely get
rid of the grub I have? Or do I need to? The emerge -C
flag comes w/ dire warnings, The manual entry for -c
mentions slotted pkgs. And I see --depclean too, and
--prune.



If the problem is the one I had, you can simply test it
by creating the /boot/boot directory and then copy
the /boot/grub directory to /boot/boot. If that was
your problem, then grub would be able to find the
grub.conf file in /boot/boot/grub/ and everything should
work.

HTH,

Michael

--
Michael Ulm
RD Team
ISIS Information Systems Austria
tel: +43 2236 27551-219, fax: +43 2236 21081
e-mail: [EMAIL PROTECTED]
Visit our Website: www.isis-papyrus.com
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread maxim wexler
Oops,

What I was trying to say before I hit the wrong key, I
paused the boot screen on the non-booting gentoo box
and took a look at the HD line. It says the LBA mode
is off. 32 bit mode is off. DMA mode is UDMA6, PIO
mode is 4

FWIW

-mw



__ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread Richard Fish
maxim wexler wrote:

Oops,

What I was trying to say before I hit the wrong key, I
paused the boot screen on the non-booting gentoo box
and took a look at the HD line. It says the LBA mode
is off. 32 bit mode is off. DMA mode is UDMA6, PIO
mode is 4

FWIW


I took a peek at the manual for your MB.  You might want to double check
the BIOS settings for the hard disk and make sure that LBA/Large mode is
set to Auto.

Also, what is the CHS reported by the kernel in the dmesg output?  If it
says CHS=/255/63, then LBA mode is active.

You might want to try a modified setup command in grub:

root (hd0,1)
setup --force-lba (hd0)

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread maxim wexler
 
 Ah, some progress at last!  Seems like there is a
 problem in the
 grub.conf file, but nothing too serious.  Could you
 re-post that file?

default 0
timeout 30
title=Gentoo
root (hd0,1)
kernel /vmlinuz root=/dev/hda4
title=WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1
 
 -Richard
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 




__ 
Discover Yahoo! 
Use Yahoo! to plan a weekend, have fun online and more. Check it out! 
http://discover.yahoo.com/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread Richard Fish
maxim wexler wrote:

Ah, some progress at last!  Seems like there is a
problem in the
grub.conf file, but nothing too serious.  Could you
re-post that file?



default 0
timeout 30
title=Gentoo
root (hd0,1)
  

Remove the root (hd0,1) line.  That should (I hope) let you boot
gentoo from the floppy.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread Richard Fish
maxim wexler wrote:

I took a peek at the manual for your MB.  You might
want to double check
the BIOS settings for the hard disk and make sure
that LBA/Large mode is
set to Auto.



It *is*. The only other choice is disabled. 

  

Also, what is the CHS reported by the kernel in the
dmesg output?  If it
says CHS=/255/63, then LBA mode is active.




CHS=65535/16/63

  


Damn.  Looks like LBA is being disabled, most likely because the drive
was initially partitioned without LBA.  Parted might be able to fix
this, but I'm not sure.  You may have to restart from scratch

If you are brave, follow these steps _very_ carefully to see if it is
simply due to the partitioning of the disk.  If you are careful, you can
do this without damaging any data on your system.  All of this will be
from the livecd:

First, backup your partition table and MBR to a floppy disk:

# mount /dev/fd0 /mnt/floppy
# dd if=/dev/hda of=/mnt/floppy/mbr.backup bs=512 count=1
# fdisk -l /dev/hda  /mnt/floppy/partitions.txt
# umount /mnt/floppy

Now we need to erase things:

# dd if=/dev/zero of=/dev/hda bs=512 count=1 ## DOUBLE CHECK THIS LINE

And reboot the live CD.  If LBA is working, CHS should now be reported
as xxx/255/63.

To restore things, run:

# mount /dev/fd0 /mnt/floppy
# dd if=/mnt/floppy/mbr.backup of=/dev/hda bs=512 count=1 ## DOUBLE
CHECK AGAIN

If you have logical partitions also, use the data in
/mnt/floppy/partitions.txt to recreate them using fdisk with the exact
starting cylinder, ending cylinder, and Id.

# umount /mnt/floppy

And reboot.  If all went well, you didn't lose any data...



If you do decide to rebuild the system, and we did not get LBA mode from
blanking the partition table and rebooting above, then you can try
running fdisk with -H 255, partition the drive, and reboot.  That
should basically force things to the right mode.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-03 Thread Richard Fish
Richard Fish wrote:

maxim wexler wrote:

  

Ah, some progress at last!  Seems like there is a
problem in the
grub.conf file, but nothing too serious.  Could you
re-post that file?

   

  

default 0
timeout 30
title=Gentoo
root (hd0,1)
 



Remove the root (hd0,1) line.  That should (I hope) let you boot
gentoo from the floppy.

-Richard

  


Um, sorry, what I meant to say was:

Change the lines above to read:

default 0
timeout 30

title Gentoo
kernel (hd0,1)/vmlinuz root=/dev/hda4

title WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-02 Thread maxim wexler

http://www.gnu.org/software/grub/grub-legacy-faq.en.html
 
 HTH,
 
 Michael

Thanks for the tip. But before I try this(and this
goes for Richard F's suggestion) how do I safely get
rid of the grub I have? Or do I need to? The emerge -C
flag comes w/ dire warnings, The manual entry for -c
mentions slotted pkgs. And I see --depclean too, and
--prune.

How best proceed?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-02 Thread Richard Fish
maxim wexler wrote:

http://www.gnu.org/software/grub/grub-legacy-faq.en.html
  

HTH,

Michael



Thanks for the tip. But before I try this(and this
goes for Richard F's suggestion) how do I safely get
rid of the grub I have? Or do I need to? The emerge -C
flag comes w/ dire warnings, The manual entry for -c
mentions slotted pkgs. And I see --depclean too, and
--prune.
  


Well, to remove it:

emerge --unmerge grub
rm -rf /boot/grub

But you had better install and configure another boot loader (new grub
version or LILO) at this point or you will be hosed

I had a couple of more thoughts on what the problem could be though...

Since you are hanging after loading the stage1.5 (the please wait
message comes from there), I think there are 3 possibilities:

1. The stage2 binary is corrupt.  As I think about this more and more, I
think this is less and less likely.  Re-emerging grub should fix it in
any case if this was the problem.

2. The stage2 file cannot be loaded.  This could be due to a misbehaving
BIOS, or because it is at a location that is physically inaccessible
through the BIOS calls.

3. The stage2 file is actually loading fine, but it cannot read your
grub.conf file, either due to not being able to locate it, or possibly
due to a mistake inside the file.

I would like you to try a couple of things:

First, assuming that your system can boot from floppy, try making a
bootable floppy with grub.  The steps for this are:

mke2fs /dev/fd0
mount /dev/fd0 /mnt/floppy
cp -Rp /boot/grub /mnt/floppy/grub
rm -f /mnt/floppy/grub/*_stage1_5
umount /mnt/floppy
grub
grub root (fd0)
grub setup (fd0)
grub quit

You should now reboot, and get a boot menu from the floppy disk.  If so,
then both your configuration file and the grub binaries are valid.  If
not, then there is a problem with stage2 or grub.conf.

Assuming you are able to boot from floppy, the next step is a slightly
different grub setup command for the hard disk.

In the grub shell, you want to run (like always):

root (hd0,1)
setup (hd0)

The final line of this output is something like:
Running install /grub/stage1 (hd0) (hd0)1+22 p (hd0,1)/grub/stage2
/grub/menu.lst

We want to duplicate that line exactly, except adding a 'd' after (hd0):

install /grub/stage1 (hd0) d (hd0)1+22 p (hd0,1)/grub/stage2 /grub/menu.lst

(you can do an info grub and read commands - command line and ... -
install for a description of what the 'd' does).

Now try rebooting.

If we still haven't solved the problem booting from the hard disk, then
I think you may have to repartition your system to make /boot the first
partition (hda1/hd0,0) on the disk, and at the very start of the disk. 
The thing is, some BIOSs cannot access cylinders above 1024, which even
in LBA mode means the boot files must exist within the first 8GB of the
disk.  In non-LBA mode, the limit is even lower.  I don't know how big
your hda1 partition is, but it is always safest to put /boot first.

Or, you can continue to boot with the floppy...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-01 Thread Michael Ulm

maxim wexler wrote:

And which OS are you choosing from the menu again,
maxim (assuming you
get to a menu)? Or does this affect all OSes in your
menu?



no choice. After grub-install I get the 


Grub loading stage1.5
Grub loading, please wait...

message(white text,black bg). To get back to
Macroshaft I boot into a Win98 CD and run fdisk /mbr



I had a grub problem with the same symptoms and solved it
by moving all the grub stuff from  /boot/grub  to
/boot/boot/grub. This is described in the grub faq (Item 11)

http://www.gnu.org/software/grub/grub-legacy-faq.en.html

HTH,

Michael

--
Michael Ulm
RD Team
ISIS Information Systems Austria
tel: +43 2236 27551-219, fax: +43 2236 21081
e-mail: [EMAIL PROTECTED]
Visit our Website: www.isis-papyrus.com
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-01 Thread Richard Fish
maxim wexler wrote:

but #grub 

GNU GRUB  version 0.94  (640K lower / 3072K upper
memory)

  


Well, you could try updating grub.  0.96-r1 is what is current for
stable x86.

I could also send you directly my stage1, e2fs_stage_1_5, and stage2
files.  It would allow us to eliminate (or identify!) the build of grub
as the source of the problem.


not sure how to interpret tune2fs. 
  


Mostly I wanted to make sure that the system wasn't full (free blocks
and free inodes both  0), and that you didn't have any unusual
filesystem features enabled.  Everything looks ok though.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread maxim wexler
  
 maybe you can try this,
 root (hd0,1)
 setup (hd0)

That's better. But it still doesn't work. Staring at a
console right now telling me to please wait.

grub root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83

grub setup (hd0)
 Checking if /boot/grub/stage1 exists... no
 Checking if /grub/stage1 exists... yes
 Checking if /grub/stage2 exists... yes
 Checking if /grub/e2fs_stage1_5 exists... yes
 Running embed /grub/e2fs_stage1_5 (hd0)...  22
sectors are embedded.
succeeded
 Running install /grub/stage1 (hd0) (hd0)1+22 p
(hd0,1)/grub/stage2 /grub/menu.
lst... succeeded
Done.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread ZeeGeek
On 6/1/05, maxim wexler [EMAIL PROTECTED] wrote:
  
  maybe you can try this,
  root (hd0,1)
  setup (hd0)
 
 That's better. But it still doesn't work. Staring at a
 console right now telling me to please wait.
 

that's right, isn't it? it's working if you see the console giving you
the list. if what you are wishing for is that gentoo background
choosing menu, then you'll need splashimage set in your grub.conf
which I didn't see in your first post.

 grub root (hd0,1)
  Filesystem type is ext2fs, partition type 0x83
 
 grub setup (hd0)
  Checking if /boot/grub/stage1 exists... no
  Checking if /grub/stage1 exists... yes
  Checking if /grub/stage2 exists... yes
  Checking if /grub/e2fs_stage1_5 exists... yes
  Running embed /grub/e2fs_stage1_5 (hd0)...  22
 sectors are embedded.
 succeeded
  Running install /grub/stage1 (hd0) (hd0)1+22 p
 (hd0,1)/grub/stage2 /grub/menu.
 lst... succeeded
 Done.
 
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread Richard Fish
maxim wexler wrote:

maybe you can try this,
root (hd0,1)
setup (hd0)



That's better. But it still doesn't work. Staring at a
console right now telling me to please wait.

grub root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83

grub setup (hd0)
 Checking if /boot/grub/stage1 exists... no
 Checking if /grub/stage1 exists... yes
 Checking if /grub/stage2 exists... yes
 Checking if /grub/e2fs_stage1_5 exists... yes
 Running embed /grub/e2fs_stage1_5 (hd0)...  22
sectors are embedded.
succeeded
 Running install /grub/stage1 (hd0) (hd0)1+22 p
(hd0,1)/grub/stage2 /grub/menu.
lst... succeeded
Done.

  


Ok, quick comparison to my results...

grub root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub setup (hd0)
 Checking if /boot/grub/stage1 exists... no
 Checking if /grub/stage1 exists... yes
 Checking if /grub/stage2 exists... yes
 Checking if /grub/e2fs_stage1_5 exists... yes
 Running embed /grub/e2fs_stage1_5 (hd0)...  16 sectors are embedded.
succeeded
 Running install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/menu.lst... succeeded
Done.


Hmm, this is weird.  My e2fs_stage1_5 takes 16 sectors, but yours takes
22that doesn't seem right.  I could understand a 1 or 2 sector
difference if we are using different versions of grub.

Let's compare grub versions and stage files:

carcharias rjf # qpkg -I -v grub
sys-boot/grub-0.96-r1 *

carcharias rjf # ls -l /boot/grub/stage1 /boot/grub/e2fs_stage1_5
/boot/grub/stage2
-rw-r--r--  1 root root   8052 Apr 22 02:07 /boot/grub/e2fs_stage1_5
-rw-r--r--  1 root root512 Apr 22 02:07 /boot/grub/stage1
-rw-r--r--  1 root root 105576 Apr 22 02:07 /boot/grub/stage2

carcharias rjf # md5sum /boot/grub/stage1 /boot/grub/e2fs_stage1_5
/boot/grub/stage2
fec478948a06cc1fb7339a2cd3e26663  /boot/grub/stage1
96451f2a81e2cbf4d1c41cf4b61787e0  /boot/grub/e2fs_stage1_5
d69594a75e5b72df86f03df6d5d7fbd3  /boot/grub/stage2

Also, how did you format /boot?  Could you post the output of dumpe2fs
-h /dev/hda2?

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread maxim wexler
 choosing menu, then you'll need splashimage set in

Whoa! IIRC splashimage is optional. Can somebody weigh
in here?



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread Neil Bothwick
On Tue, 31 May 2005 14:51:49 -0700 (PDT), maxim wexler wrote:

 Whoa! IIRC splashimage is optional. Can somebody weigh
 in here?

Yes, it is optional, and worth disabling if you have problems. GRUB will
bail out with no error message if you set an incorrect path for
splashimage. 


-- 
Neil Bothwick

We are from the planet Taglinis. Take us to your reader!


pgprZqJkkekfS.pgp
Description: PGP signature


Re: [gentoo-user] grub still broke

2005-05-31 Thread Holly Bostick
Neil Bothwick schreef:
 On Tue, 31 May 2005 14:51:49 -0700 (PDT), maxim wexler wrote:
 
 
Whoa! IIRC splashimage is optional. Can somebody weigh
in here?
 
 
 Yes, it is optional, and worth disabling if you have problems. GRUB will
 bail out with no error message if you set an incorrect path for
 splashimage. 
 
 
You're right, of course, Neil, but from the original post I believe we
are not talking about the bootsplash/fbsplash image but the grub menu
graphics:


ZeeGeek schreef:
 On 6/1/05, maxim wexler [EMAIL PROTECTED] wrote:

That's better. But it still doesn't work. Staring at a
console right now telling me to please wait.



 that's right, isn't it? it's working if you see the console giving you
 the list. if what you are wishing for is that gentoo background
 choosing menu, then you'll need splashimage set in your grub.conf
 which I didn't see in your first post.


The gentoo background choosing menu is what you get in the first part
of grub.conf:

default=0
timeout=10
splashimage=(hd0,1)/grub/gentoo.xpm.gz

not the silent or verbose splash defined by

title Gentoo_current (2.6.11-gentoo-r8)
root (hd0,1)
kernel /vmlinuz ro root=/dev/hda5
video=vesafb-tng:ywrap,mtrr,pmipal,[EMAIL PROTECTED]
splash=silent,theme:emergence quiet
CONSOLE=/dev/vc1
initrd /fbsplash-emergence

Now it's true that both are optional (you can just have a text menu with
colors and not a graphic background for the menu, and of course you can
just watch text scroll by on a black background during boot), but it
seems to me that the operative question here is where does this Please
wait... message come in?

I don't pay enough attention to GRUB's booting process to be sure, but
isn't that displayed before the GRUB menu comes up? Or is it just after
boot?

And which OS are you choosing from the menu again, maxim (assuming you
get to a menu)? Or does this affect all OSes in your menu?

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread Neil Bothwick
On Wed, 01 Jun 2005 00:55:39 +0200, Holly Bostick wrote:

  Yes, it is optional, and worth disabling if you have problems. GRUB
  will bail out with no error message if you set an incorrect path for
  splashimage. 
 
 You're right, of course, Neil, but from the original post I believe we
 are not talking about the bootsplash/fbsplash image but the grub menu
 graphics:

As was I :)


-- 
Neil Bothwick

Linux like wigwam. No windows, no gates, Apache inside.


pgp5zQHQ9vuM7.pgp
Description: PGP signature


Re: [gentoo-user] grub still broke

2005-05-31 Thread maxim wexler
 
 Ok, quick comparison to my results...
 
 grub root (hd0,0)
  Filesystem type is ext2fs, partition type 0x83
 
 grub setup (hd0)
  Checking if /boot/grub/stage1 exists... no
  Checking if /grub/stage1 exists... yes
  Checking if /grub/stage2 exists... yes
  Checking if /grub/e2fs_stage1_5 exists... yes
  Running embed /grub/e2fs_stage1_5 (hd0)...  16
 sectors are embedded.
 succeeded
  Running install /grub/stage1 (hd0) (hd0)1+16 p
 (hd0,0)/grub/stage2
 /grub/menu.lst... succeeded
 Done.
 
 
 Hmm, this is weird.  My e2fs_stage1_5 takes 16
 sectors, but yours takes
 22that doesn't seem right.  I could understand a
 1 or 2 sector
 difference if we are using different versions of
 grub.
 
 Let's compare grub versions and stage files:
 
 carcharias rjf # qpkg -I -v grub
 sys-boot/grub-0.96-r1 *
 
 carcharias rjf # ls -l /boot/grub/stage1
 /boot/grub/e2fs_stage1_5
 /boot/grub/stage2
 -rw-r--r--  1 root root   8052 Apr 22 02:07
 /boot/grub/e2fs_stage1_5
 -rw-r--r--  1 root root512 Apr 22 02:07
 /boot/grub/stage1
 -rw-r--r--  1 root root 105576 Apr 22 02:07
 /boot/grub/stage2
 
 carcharias rjf # md5sum /boot/grub/stage1
 /boot/grub/e2fs_stage1_5
 /boot/grub/stage2
 fec478948a06cc1fb7339a2cd3e26663  /boot/grub/stage1
 96451f2a81e2cbf4d1c41cf4b61787e0 
 /boot/grub/e2fs_stage1_5
 d69594a75e5b72df86f03df6d5d7fbd3  /boot/grub/stage2
 
 Also, how did you format /boot?  Could you post the
 output of dumpe2fs
 -h /dev/hda2?
 
 -Richard


-rw-r--r--  1 root root  11264 May 29 16:49
/boot/grub/e2fs_stage1_5
-rw-r--r--  1 root root512 May 29 16:49
/boot/grub/stage1
-rw-r--r--  1 root root 137004 May 29 16:49
/boot/grub/stage2

fec478948a06cc1fb7339a2cd3e26663  /boot/grub/stage1
1fad9fe77029e1e89c85c8f8484d6851 
/boot/grub/e2fs_stage1_5
913c881bb93faeaa723aca98bd65843e  /boot/grub/stage2

Filesystem volume name:   none
Last mounted on:  not available
Filesystem UUID: 
2384cca4-8bb8-4bb9-8c23-2c1e93ff0ece
Filesystem magic number:  0xEF53
Filesystem revision #:1 (dynamic)
Filesystem features:  filetype sparse_super
Default mount options:(none)
Filesystem state: not clean
Errors behavior:  Continue
Filesystem OS type:   Linux
Inode count:  7968
Block count:  31752
Reserved block count: 1587
Free blocks:  28257
Free inodes:  7932
First block:  1
Block size:   1024
Fragment size:1024
Blocks per group: 8192
Fragments per group:  8192
Inodes per group: 1992
Inode blocks per group:   249
Filesystem created:   Mon May 23 13:45:44 2005
Last mount time:  Tue May 31 18:13:07 2005
Last write time:  Tue May 31 18:13:07 2005
Mount count:  19
Maximum mount count:  29
Last checked: Mon May 23 13:45:44 2005
Check interval:   15552000 (6 months)
Next check after: Sat Nov 19 13:45:44 2005
Reserved blocks uid:  0 (user root)
Reserved blocks gid:  0 (group root)
First inode:  11
Inode size:   128
Default directory hash:   tea
Directory Hash Seed: 
ebb0f0be-1fc5-43c0-97d0-a384ace470f6

livecd / # qpkg -I -v grub
bash: qpkg: command not found
 
but #grub 

GNU GRUB  version 0.94  (640K lower / 3072K upper
memory)

checksums don't match but neither do versions.

not sure how to interpret tune2fs. 

Come to think of it when it came time to format
/dev/hda2 I had first tried reiserfs since that was
how I formatted /boot on my other gentoo(2004.3) box,
a K6-2, and it seemed to work OK. On this box(2005.0),
a Sempron3100, when I tried to format as reiserfs the
program balked(don't recall the exact circumstances)
so I just did it as ext2 as the 2005.0 handbook
suggested to do in the first place. 

Only thing I can think of for now.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread Holly Bostick
maxim wexler schreef:
And which OS are you choosing from the menu again,
maxim (assuming you
get to a menu)? Or does this affect all OSes in your
menu?
 
 
 no choice. After grub-install I get the 
 
 Grub loading stage1.5
 Grub loading, please wait...
 
 message(white text,black bg). To get back to
 Macroshaft I boot into a Win98 CD and run fdisk /mbr
 
 
Ok, now I've got it. The menu doesn't load at all.

But your previous post as to formatting the /boot partition made me
think of something I had problems like that some time ago, back when
I first installed my first Gentoo.

Basically what had happened was I got weird and unattributable errors
due to my filesystem not being correctly formatted. It was supposed to
be formatted, and files were installed to it and everything, but
filesizes were being reported differently by different tools and things
just didn't work properly.

What I wound up doing was using qtparted to delete the filesystem and
reformat it. Once the filesystem on the disk was the same as the
filesystem that the disk thought it had, everything worked fine.

Now, I seem to recall having heard that it is possible to delete and
reformat a filesystem without deleting the partition (or damaging the
files thereon), but I didn't know enough at the time to do that, so I
just deleted the entire partition and recreated it.

Since this is /boot, it won't be a tragedy to delete the partition,
recreate, format it as ext2 from the start and reinstall grub. But maybe
there's a way that you can just reformat the existing partition (again)
as ext2, so that it takes. You might still have to reinstall grub
anyway, however at this point that seems like the least of your worries
:-) .

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-31 Thread Scott Jones
Maxim,

I just had to chroot iinto my system from livecd and I got a similar
error message from Grub (referring to your 3rd post) anyways try this
command it let me use Grub from inside chroot:

mount -o bind /dev /mnt/gentoo/dev

I got it from this thread on forums:

http://forums.gentoo.org/viewtopic-t-342872-highlight-grub.html

Anyways I HTH couldn't figure out from above posts whether or not you
problem was solved yet.

Scott Jones

On 5/31/05, Holly Bostick [EMAIL PROTECTED] wrote:
 maxim wexler schreef:
 And which OS are you choosing from the menu again,
 maxim (assuming you
 get to a menu)? Or does this affect all OSes in your
 menu?
 
 
  no choice. After grub-install I get the
 
  Grub loading stage1.5
  Grub loading, please wait...
 
  message(white text,black bg). To get back to
  Macroshaft I boot into a Win98 CD and run fdisk /mbr
 
 
 Ok, now I've got it. The menu doesn't load at all.
 
 But your previous post as to formatting the /boot partition made me
 think of something I had problems like that some time ago, back when
 I first installed my first Gentoo.
 
 Basically what had happened was I got weird and unattributable errors
 due to my filesystem not being correctly formatted. It was supposed to
 be formatted, and files were installed to it and everything, but
 filesizes were being reported differently by different tools and things
 just didn't work properly.
 
 What I wound up doing was using qtparted to delete the filesystem and
 reformat it. Once the filesystem on the disk was the same as the
 filesystem that the disk thought it had, everything worked fine.
 
 Now, I seem to recall having heard that it is possible to delete and
 reformat a filesystem without deleting the partition (or damaging the
 files thereon), but I didn't know enough at the time to do that, so I
 just deleted the entire partition and recreated it.
 
 Since this is /boot, it won't be a tragedy to delete the partition,
 recreate, format it as ext2 from the start and reinstall grub. But maybe
 there's a way that you can just reformat the existing partition (again)
 as ext2, so that it takes. You might still have to reinstall grub
 anyway, however at this point that seems like the least of your worries
 :-) .
 
 Hope this helps,
 Holly
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-30 Thread Richard Fish
maxim wexler wrote:

Hello everyone,

Don't you just hate it when you repair the mistakes
and it STILL don't work.
  


Yes!!

grub setup (hd0)

  


Any chance you can post the full output of the setup command?  Maybe
there is a clue in there...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-30 Thread maxim wexler
 
 Any chance you can post the full output of the setup
 command?  Maybe
 there is a clue in there...

Yikes! Now I get

Error 12: Invalid device requested

so much different from


  grub setup (hd0)
 Checking if /boot/grub/stage1 exists... yes
 Checking if /boot/grub/stage2 exists... yes
 Checking if /boot/grub/e2fs_stage1_5 exists... yes
 Running embed /boot/grub/e2fs_stage1_5 (hd0)...  22
sectors are embedded.
succeeded
 Running install /boot/grub/stage1 (hd0) (hd0)1+22 p
(hd0,1)/boot/grub/stage2 /
boot/grub/menu.lst... succeeded
Done.

of May26, which, I was informed, is also wrong, but
obviously for a different reason.

But I just checked. I exited out of /bin/bash, did a
list /mnt/gentoo, found all as it should be. 

And when I chroot / is there as if I had booted
normally. And so is /boot.

Makes no sense.

According to one respondent /etc/mtab might be worth a
look.

livecd / # less /etc/mtab
/dev/ROOT / xfs rw,noatime 0 0
/dev/hda2 /boot ext2 rw,noatime 0 0
/dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0
/dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0

hmmm, that's strange; /dev/ROOT(hda4) is not xfs, it
should be reiserfs. And when it was mounted the
console noted that it *was* reiserfs. But /boot is
correct. Or is it that mtab just lists defaults? But I
notice that once I've chroot'ed I can mount drives
according to the options listed in the fstab I wrote
during the install.

It's all a darkness.

-mw



__ 
Yahoo! Mail 
Stay connected, organized, and protected. Take the tour: 
http://tour.mail.yahoo.com/mailtour.html 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-05-30 Thread ZeeGeek
On 5/31/05, maxim wexler [EMAIL PROTECTED] wrote:
 
  Any chance you can post the full output of the setup
  command?  Maybe
  there is a clue in there...
 
 Yikes! Now I get
 
 Error 12: Invalid device requested
 
 so much different from
 
 
  grub setup (hd0)
  Checking if /boot/grub/stage1 exists... yes
  Checking if /boot/grub/stage2 exists... yes
  Checking if /boot/grub/e2fs_stage1_5 exists... yes
  Running embed /boot/grub/e2fs_stage1_5 (hd0)...  22
 sectors are embedded.
 succeeded
  Running install /boot/grub/stage1 (hd0) (hd0)1+22 p
 (hd0,1)/boot/grub/stage2 /
 boot/grub/menu.lst... succeeded
 Done.
 
 of May26, which, I was informed, is also wrong, but
 obviously for a different reason.
 
 But I just checked. I exited out of /bin/bash, did a
 list /mnt/gentoo, found all as it should be.
 
 And when I chroot / is there as if I had booted
 normally. And so is /boot.
 
 Makes no sense.
 
 According to one respondent /etc/mtab might be worth a
 look.
 
 livecd / # less /etc/mtab
 /dev/ROOT / xfs rw,noatime 0 0
 /dev/hda2 /boot ext2 rw,noatime 0 0
 /dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0
 /dev/fd0 /floppy msdos rw,noexec,nosuid,nodev 0 0
 
 hmmm, that's strange; /dev/ROOT(hda4) is not xfs, it
 should be reiserfs. And when it was mounted the
 console noted that it *was* reiserfs. But /boot is
 correct. Or is it that mtab just lists defaults? But I
 notice that once I've chroot'ed I can mount drives
 according to the options listed in the fstab I wrote
 during the install.
 
 It's all a darkness.
 
 -mw
 
 
 
 __
 Yahoo! Mail
 Stay connected, organized, and protected. Take the tour:
 http://tour.mail.yahoo.com/mailtour.html
 
 --
 gentoo-user@gentoo.org mailing list
 
 
maybe you can try this,
root (hd0,1)
setup (hd0)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] grub still broke

2005-05-29 Thread maxim wexler
Hello everyone,

Don't you just hate it when you repair the mistakes
and it STILL don't work.

I rebooted the 2005.0 install CD in full expectation
of fixing the problem at last. I made the corrections
suggested by the list(R.Price  R.Fish)and rebooted. 

I was convinced the biggest mistake was entering

#mount /dev/hda2 /boot

rather than

#mount /dev/hda2 /mnt/gentoo/boot  

before doing a chroot.

But there must be a bigger one; boot still hangs at
Grub loading stage 1.5, please wait...

To recap, here's grub.conf:

default 0
timeout 30
title=Gentoo
root (hd0,1)
kernel /vmlinuz root=/dev/hda4 #not /boot/vmlinuz
title=WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1

I left out the splashscreen; that's optional isn't it?

I removed the boot symlink, and 

grub setup (hd0)

did *not* find anything in /boot/grub.

-mw



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
-- 
gentoo-user@gentoo.org mailing list