Re: PPC subarches
On Sun, 2004-08-08 at 11:02 +0100, Matthew T. Atkinson wrote: > 'ello, > Hi > Thanks to all who've replied -- OF sounds really very cool! I just read > something in an article hosted by IBM recently and found it a little > odd: > > >From http://tinyurl.com/2aj49 > ``Apple's Open Firmware (an enhanced version of the BIOS Linux users > know from x86 PCs) relies on a small "Apple Bootstrap" partition (hda2) > to load the subsequent operating system from one of the regular > partitions. The partition map also occupies hda1, so the first partition > in which you will install any operating system is numbered at least > hda3.'' hda1 is where is stored the partition map, if you delete/lose it, your harddisk will become an empty disk to any operating system. > > Is this really true? Also, does it mean that if I accidentally delete > the contents of hda1 and hda2, I will no longer be able to boot my > machine and will have to send it back to Apple to be repaired? I'd say > ``hopefully OS X can replace this data when it is installed.'' but then > if OF needs that data to boot the OS X install CD, then I don't suppose > it /could/... The hda2 partition is only needed with nonApple Operating systems. You can boot the macosx installation CD without it (I'm always talking about newworld machines). The bootstrap partition (hda2) is where linux kernel (and I suppose the BSD one) is installed so OF can boot it, for MacOSX, OF can boot directly from the HFS+ partition. > > bye just now, > > Cheers. > -- > Matthew T. Atkinson <[EMAIL PROTECTED]> > > signature.asc Description: This is a digitally signed message part
Re: forgotten root password
On Fri, 2004-08-27 at 16:30 +0200, Giovanni Ridolfi wrote: > Hi to everyone, >I've installed sarge on my ibook, but > I had some keymap problems > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=266691 > > and an annoying message that forced me to change > root's and my user's passwords [1] > ([1] By the way is my password too weak or it is > a bug in the login(?) program?) > So I've forgotten root's password. > Which string shall I pass to yaboot to have a shell... > an then... > mount /dev/hda3 > and erase root's password from /etc/shadow? init=/bin/sh that way you will get a root console, you will need to remount the / partition as rw and will be able to execute passwd to change your password, after that, remount again as ro and reboot. Something like: mount -o remount,rw / passwd mount -o remount,ro / reboot Cheers > > Thank you very much, > regards > > Giovanni > -- Carlos Perelló Marín Debian GNU/Linux Sid (PowerPC) Linux Registered User #121232 mailto:[EMAIL PROTECTED] || mailto:[EMAIL PROTECTED] http://carlos.pemas.net Valencia - Spain signature.asc Description: This is a digitally signed message part
Re: Re: forgotten root password
On Fri, 2004-08-27 at 17:50 +0200, Giovanni Ridolfi wrote: > > > > On Fri, 2004-08-27 at 16:30 +0200, Giovanni Ridolfi wrote: > > > Carlos Perello Marin wrote: > > > Which string shall I pass to yaboot to have a shell... > > > an then... mount /dev/hda3 > > > and erase root's password from /etc/shadow? > > > >init=/bin/sh > It doesn't work :-( > > I have yaboot 1.3.13, and this is my "screen output" > > boot: init=/bin/sh > Please wait, loading kernel... > /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:3, \\init=/bin/sh : No > such file or directory > boot: > > it seems to be again at the beginning. Push twice the Tab key and see the list of kernels to boot. If you have the default, you should have a 'Linux' entry so you should type: boot: Linux init=/bin/sh Cheers. > > Regards > Giovanni > > __ > Tiscali ADSL Senza Canone, paga solo quello che consumi! > Non perdere la promozione valida fino al 31 agosto. Per te gratis il modem > in comodato e l'attivazione. In piu' navighi a soli 1,5 euro l'ora per i > primi tre mesi. Cosa aspetti? Attivala subito! > http://abbonati.tiscali.it/adsl/prodotti/640Kbps/ > > > -- Carlos Perelló Marín Debian GNU/Linux Sid (PowerPC) Linux Registered User #121232 mailto:[EMAIL PROTECTED] || mailto:[EMAIL PROTECTED] http://carlos.pemas.net Valencia - Spain signature.asc Description: This is a digitally signed message part