View previous topic :: View next topic |
Author |
Message |
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Mon May 02, 2005 1:47 pm Post subject: /dev/hda is the gentoo 2005.0 livecd. What the? |
|
|
I'm using an old blue and white g3 mac. i'm not sure which revision it is.
Basically when i boot using the live cd and run mac-fdisk /dev/hda and then hit p to show the partition list it shows me the partition list of the live cd. it does exactly the same thing if i go mac-fdisk /dev/cdrom but i assume it's meant to do that. So i can't install it because i can't see my hard drive. Does anyone have any clues as to whats going on?
Also can anyone tell me how to boot from the CD if there is a bootable HD in the machine. I have only been able to do it once so i'm using another ide hard drive. But the one time it booted with that drive the same thing happened.
My third question is, is there a bios in these macs and if so how do you get into it? As you can tell i'm relatively new to macs. |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Mon May 02, 2005 2:58 pm Post subject: |
|
|
i tried the yellow dog installer and it recognised my drive but i don't like yellow dog. Please any clues anyone? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon May 02, 2005 3:30 pm Post subject: |
|
|
Do a quick YDL install on a small partition, then use that to install gentoo from on other partitions. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Tue May 03, 2005 12:10 am Post subject: |
|
|
i downloaded the 2004.3 iso. if that works can i emerge to the 2005 version. But if the the gentoo drivers don't work properly with my ide bus when i install gentoo 2005.0 won't i not be able to boot it? |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed May 04, 2005 1:01 am Post subject: |
|
|
2004.3 doesn't work either. how would i go about doing what nixnut said? |
|
Back to top |
|
|
Meaulnes n00b
Joined: 15 Mar 2004 Posts: 49
|
Posted: Wed May 04, 2005 1:24 am Post subject: |
|
|
Odd that I would stumble across this post today. I was attempting to install Gentoo on a Blue & White G3 myself and hit the same wall. In order to fix it, I had to put the cd drive and the hard drive on the same bus. What I ended up with was this:
cdrom = /dev/hda
harddrive = /dev/hdb
I managed to get through the stage 3 install, but now I can't get it to boot. Yaboot seems to be configed properly, but it won't boot. Does anyone know if yaboot has to be on a certain spot? I.E. does yaboot have to boot the primary master? or the secondary master?
BTW on that B&W G3, only one ide bus was detected, so aparrently there is a problem detecting the bus marked 'ultra ata' on the motherboard. |
|
Back to top |
|
|
DJ_Max n00b
Joined: 02 Sep 2004 Posts: 41 Location: Chicago, IL USA
|
Posted: Wed May 04, 2005 1:24 am Post subject: Re: /dev/hda is the gentoo 2005.0 livecd. What the? |
|
|
i_know_tim wrote: | I'm using an old blue and white g3 mac. i'm not sure which revision it is.
Basically when i boot using the live cd and run mac-fdisk /dev/hda and then hit p to show the partition list it shows me the partition list of the live cd. it does exactly the same thing if i go mac-fdisk /dev/cdrom but i assume it's meant to do that. So i can't install it because i can't see my hard drive. Does anyone have any clues as to whats going on?
Also can anyone tell me how to boot from the CD if there is a bootable HD in the machine. I have only been able to do it once so i'm using another ide hard drive. But the one time it booted with that drive the same thing happened.
|
Two ways,
1.) Hold down the 'c' key.
2.)Hold down the 'option' key, then click on the CD display.
i_know_tim wrote: |
My third question is, is there a bios in these macs and if so how do you get into it? As you can tell i'm relatively new to macs. |
Of course, OpenFirmware, and I'm not sure which version you have, probably 2.2?
Anyway
* Start up and hold down command-option-o-f
(The command key is right next to the space bar)
Check around Apples website, lots of good info. http://www.apple.com/support/ _________________ PHP, Ruby, Python, MySQL, PostgreSQL, XHTML, programmer || daejuan@gmail.com
Current Specs:
iMac G3 400MHZ
256MB SDRAM
10GB ATA HD
ATI Rage 128 pro
Mac OS 10.1.5 & Gentoo Linux
Quote: | Windows was made to keep stupid people away from Unix. |
|
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed May 04, 2005 2:21 am Post subject: |
|
|
Thanks DJ the problem is i'm using a normal windows keyboard and pressing the c key hasn't been working but i'll blame that on the keyboard. So is there an equivalent key on a windows keyboard for the option key, like the windows key?
And thats interesting Meaulnes I will try that. Have you tried moving the drive back to the other ide cable. I'm thinking that the mac bios will only boot from drives on that bus. but that will probably mean things will go wrong later. I know in ubuntu and yellow dog that the hard drive comes up as hdc when it's in the normal place.
Is this something that should be reported as a bug? |
|
Back to top |
|
|
MACSRULETHEWORLD Tux's lil' helper
Joined: 17 Apr 2004 Posts: 131
|
Posted: Wed May 04, 2005 4:13 am Post subject: |
|
|
the equivenlent of the option key in windows is the "alt" key. |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed May 04, 2005 4:22 am Post subject: |
|
|
what about the command key?
edit: what is the command key. i was just looking at a mac keyboard and there ia a control, option (alt), and some funny key with an apple logo. Is that the command key and is it the equivalent of the windows key. |
|
Back to top |
|
|
Meaulnes n00b
Joined: 15 Mar 2004 Posts: 49
|
Posted: Wed May 04, 2005 1:52 pm Post subject: |
|
|
I have not yet tried moving that drive back to the Ultra bus.
As a matter of fact, I was only installing Gentoo as a lark, just to play with Gentoo/PPC a bit. It now has OpenBSD on it, and I am getting the same problem, so maybe the drive does need to be on that bus. Odd. I did wonder about that when ofpath /dev/hdb returned ultra1:
I may go back to Gentoo. This machine is going to be my replacement firewall / router / proxy server, and it has been a few years since I have messed with iptables ... guess I will have to weigh my options there. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Thu May 05, 2005 5:42 am Post subject: |
|
|
awsome i'll try that thanks jose. |
|
Back to top |
|
|
hawaiian717 n00b
Joined: 13 May 2004 Posts: 71
|
Posted: Thu May 05, 2005 3:55 pm Post subject: |
|
|
i_know_tim wrote: | what about the command key?
edit: what is the command key. i was just looking at a mac keyboard and there ia a control, option (alt), and some funny key with an apple logo. Is that the command key and is it the equivalent of the windows key. |
The Command key is the key with the Apple logo and the little cloverleaf symbol. This page has a picture of one on a PowerBook keyboard: http://madrugada.saadiq.org/2004/01/28/command-key/
If you're using a Windows keyboard, then use the Windows key. |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Tue May 10, 2005 10:51 am Post subject: |
|
|
does anyone know how to load that module without it being on the livecd or how to get it onto the live cd and then how i would go about mounting the HD once that is done. I have tried and failed. |
|
Back to top |
|
|
firun n00b
Joined: 22 Jan 2004 Posts: 37 Location: Salzburg, Austria
|
Posted: Tue May 10, 2005 2:00 pm Post subject: |
|
|
i had the very same problem - but that module fixed it.
just copy it over via scp(got to start sshd & set a root pw of course) and load the (extracted) module with "insmod"!
it instantly gave me hdc & hdd (my two hdds..
thanks JoseJX!
greetz & peace
andi _________________ Der Computer ist die logische Weiterentwicklung des Menschen: Intelligenz ohne Moral
- John James Osborne |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Tue May 10, 2005 4:27 pm Post subject: |
|
|
Just as a reminder also, since the module is loaded later than your cd device, the drive order will probably be different when you boot with your own kernel set up. Make sure your fstab reflects this! _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed May 11, 2005 3:03 am Post subject: |
|
|
It worked for me too but i'm getting ide errors but i don't think they are causing anny problems. but now i'm getting compile errors. i'll post both the errors i'm getting soon
edit https://forums.gentoo.org/viewtopic-t-326115-start-0-postdays-0-postorder-asc-highlight-ipfwcompat.html
that fixed my compile error. hopefully that won't cause any probs
and hopefully my ide errors aren't serious
Ok my latest problem is setting up yaboot. in the yaboot.conf what do i put in it since currently hdc is my root drive but thats going to change to hda on restart. so what should i put in there? |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed May 11, 2005 12:14 pm Post subject: |
|
|
ok this is what i have in my yaboot.conf file. is this right. i have been playing with things and i can't get it to work. Basically i have a cdrom and a hard disk on one ide line and a hard disk on the other. so this is what i've got:
Code: | boot=/dev/hdc2
partition=4
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
image=/boot/kernel-2.6.10
label=Linux Hope
root=/dev/hda4
partition=4
read-only
image=/vmlinux
label=Linux
root=/dev/hda3
read-only
image=/vmlinux.old
label=Linux.old
root=/dev/hda3
read-only |
so thats what i have got. should i set it all to hdc like the first line. if i set the first line to hda it doesn't install. i know i don't need those last 2 images but i though i'd leave them. also it only gets to a message where it says loading second stage bootstrap. then the screen turns off and back on and it shows that message again and it just repeats that.
and here is my fstab as well
Code: | /dev/hda2 /boot ext2 noauto,noatime 1 1
/dev/hda4 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 auto,user,ro 0 0 |
thats my fstab but i think it is wrong. what do i do with the /boot entry. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Wed May 11, 2005 3:22 pm Post subject: |
|
|
Probably, your best bet is to boot the kernel manually the first time.
Start into OF (Apple + Option + O + F) and type:
This should get yaboot started. From the boot prompt here, type:
Code: | hd:4,/boot/vmlinux root=/dev/hda4
|
Which should boot into linux. Now correct your yaboot.conf file and run ybin -v. If your kernel has a different name, replace vmlinux with the correct name. You do not need the /boot line in fstab.
Good luck! _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Wed May 11, 2005 11:54 pm Post subject: |
|
|
thanks jose i'm trying that now. i've been playing with other versions of linux and they all put that main drive as hdc. so maybe everything should be hdc. but i suppose doing what you said should tell me.
edit ok that worked hda it is. but now my logitech usb keyboard isn't working once it finishes booting. grumble. i suppose that is a kernel problem. i suppose this means recompiling again. |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Thu May 12, 2005 6:31 am Post subject: |
|
|
If it does show up as hdc, then you'll have to swap the hda for hdc in your fstab and on boot for the root= value.
Let us know what it turns out to be! _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Thu May 12, 2005 1:16 pm Post subject: |
|
|
Jose I'm having no luck. i can get it to boot now but i get a few error and the keyboard will not work.
OK the best i can get it to do is when everything is set to hda. these are the error messages i get:
Code: | Mounting local filesystems....
mount: No medium found
Some local filesystems failed to mount
failed to set system clock to hardware clock
ERROR: problem starting needed services
"bootmisc" was not started |
the main problem though is that the keyboard does not work after booting. supprisingly though the keyboard does work if i set up fstab with hdc. on boot it hits an error saying enter password to do maintanence or press control d to continue and then keyboard will work even after pressing control d. could this have something to do with usb file systems? |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Fri May 13, 2005 2:31 pm Post subject: |
|
|
ok i'm starting too get sick of gentoo now. |
|
Back to top |
|
|
i_know_tim n00b
Joined: 27 Apr 2005 Posts: 18
|
Posted: Sat May 14, 2005 3:50 am Post subject: |
|
|
jose, do you know what driver i have to include to get my cdrom ide bus working? cause i have now discovered i can't get access to my cd drive once i have booted into gentoo from the hard disk. and i can't install pciutils cause it hangs when i try too emerge it. |
|
Back to top |
|
|
|