From: Sven Luther <sven.luther@wanadoo.fr>
To: mikemartin@linux.ca
Cc: Ulrich Teichert <krypton@ulrich-teichert.org>,
linuxppc-dev@ozlabs.org, debian-powerpc@lists.debian.org
Subject: Re: 43p-140 install issues
Date: Mon, 3 Jan 2005 08:05:35 +0100 [thread overview]
Message-ID: <20050103070535.GA1644@pegasos> (raw)
In-Reply-To: <855e88d0050102201540148511@mail.gmail.com>
On Sun, Jan 02, 2005 at 11:15:35PM -0500, Mike Martin wrote:
> Now I'm very confused .... on my next reboot ... the network wouldn't
> work. After much trial and error, I got the current unstable d-i image
> to work. It did it all right up to the reboot (where is warns you that
> it doesn't have a boot loader installed).
There may be some problems with 2.6 kernels and pci irqs on prep. I will
investigate this shortly.
There is indeed no prep boot-loader installer available. I hear there is a
partman-prep prepared, but not yet part of d-i. more to this below.
> Now what!
>
> I have an installed system, but I can't figure out how to boot it! I
> have /boot/vmlinux on /dev/sdb1 and a root on /dev/sdb1. How do I
> write a boot sector or tell OpenFirmware to boot from this file? I
> tried to netboot and set root=/dev/sdb1 - but without the scsi modules
> loaded it fails to read the drives and panics.
You need to install mkvmlinuz, i think it is already, but not use
/boot/vmlinux-2.6.8-powerpc, but /boot/vmlinuz-2.6.8-powerpc, which is the
result of mkvmlinuz adding the initrd containing the modules onto the kernel,
and then adding the prep simple bootloader. Check if you have the
vmlinuz-2.6.8-powerpc, which should have been generated at install time, and
copy it to your netboot tftp server, and try again. It should even recognize
the root= partition automatically.
> I think I neet to create a type 41 PReP boot partition and get the
> kernel onto it. I've found this thread:
> http://lists.gnu.org/archive/html/bug-parted/2002-09/msg00016.html
>
> and this:
> http://www.yellowdoglinux.com/support/solutions/champion_server/rs6k.shtml
Yep. Until partman-prep is ready, you should simply try to add the prep flag
to the a small partition. I think the normal scheme is to create /dev/sdb1 as
a small (8MB ?) prep partition, /dev/sdb2 as swap, and /dev/sdb3 as /. If
partman is not able to do it, jump to console 2, and launch parted directly,
and do a set 1 prep on.
Then i suppose that copying the kernel is just a matter of :
dd if=/boot/vmlinuz-2.6.8-powerpc of=/dev/sdb1
but you have to have a small prep partition as /dev/sdb1, or the above will
erase whatever you have on /dev/sdb1.
> I tried booting up with the installer, going to a shell after the scsi
> was active and the installed system was mounted. I used sfdisk from
> /target/sbin to create a 10 Meg type 41 partition on the first HD
> (/dev/sdb0 eventually). I used dd to copy /target/boot/vmlinux to this
> partition. But it still won't boot.
Ah, no sure what is wrong. I don't think /dev/sdb0 exists. Not sure really.
> I'm very close. If I can get the system to boot (really it needs to
> boot itself - not netboot) I'd call this a success.
Friendly,
Sven Luther
next prev parent reply other threads:[~2005-01-03 6:57 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <855e88d00412291051792d3daa@mail.gmail.com>
2004-12-31 9:53 ` 43p-140 install issues Sven Luther
2005-01-01 0:54 ` Mike Martin
2005-01-01 13:15 ` Ulrich Teichert
2005-01-01 15:00 ` Sven Luther
2005-01-01 16:30 ` Ulrich Teichert
2005-01-01 16:57 ` Sven Luther
2005-01-02 1:15 ` Mike Martin
2005-01-02 9:43 ` Sven Luther
2005-01-03 4:15 ` Mike Martin
2005-01-03 7:05 ` Sven Luther [this message]
2005-01-03 13:39 ` Mike Martin
2005-01-03 14:01 ` Sven Luther
2005-01-03 14:07 ` Mike Martin
2005-01-03 14:30 ` Sven Luther
2005-01-03 14:30 ` Philippe Guyot
2005-01-03 14:43 ` Mike Martin
2005-01-03 15:47 ` vinai
2005-01-03 14:45 ` Sven Luther
2005-01-04 4:03 ` Mike Martin
2005-01-04 8:20 ` Ulrich Teichert
2005-01-04 9:23 ` Philippe Guyot
2005-01-04 11:19 ` Ulrich Teichert
2005-01-04 11:23 ` Mike Martin
2005-01-04 13:41 ` Mike Martin
2005-01-04 15:23 ` Ulrich Teichert
2005-01-04 15:39 ` Mike Martin
2005-01-05 4:36 ` Mike Martin
2005-01-05 8:07 ` Ulrich Teichert
2005-01-05 22:09 ` Ulrich Teichert
2005-01-05 11:17 ` Leigh Brown
2005-01-06 3:35 ` Mike Martin
2005-01-06 8:15 ` Sven Luther
2005-01-07 5:10 ` Mike Martin
2005-01-07 7:57 ` Sven Luther
2005-01-03 15:51 ` Ulrich Teichert
2005-01-03 16:50 ` Leigh Brown
2005-01-03 17:28 ` Sven Luther
2005-01-03 19:32 ` Ulrich Teichert
2005-01-03 19:42 ` Leigh Brown
2005-01-03 22:11 ` Ulrich Teichert
2005-01-04 22:28 ` Sven Luther
2005-01-04 22:39 ` Leigh Brown
2005-01-05 9:03 ` Sven Luther
2005-01-05 9:49 ` Philippe Guyot
2005-01-05 10:00 ` Leigh Brown
2005-01-05 11:47 ` Sven Luther
2005-01-05 14:02 ` Philippe Guyot
2005-01-05 15:45 ` Hollis Blanchard
2005-01-05 16:08 ` Sven Luther
2005-01-05 16:18 ` Philippe Guyot
2005-01-05 16:52 ` Hollis Blanchard
2005-01-05 16:30 ` Leigh Brown
2005-01-05 17:00 ` Sven Luther
2005-01-03 9:56 ` Philippe Guyot
2005-01-03 10:48 ` Sven Luther
2005-01-03 10:56 ` Philippe Guyot
2005-01-03 11:17 ` Sven Luther
2005-01-03 11:57 ` Michael Schmitz
2005-01-03 12:47 ` Sven Luther
2005-01-03 15:24 ` Michael Schmitz
2005-01-03 16:04 ` Sven Luther
2005-01-06 12:19 ` Michael Schmitz
2005-01-06 14:02 ` Sven Luther
2005-01-02 15:38 ` Ulrich Teichert
2005-01-02 16:41 ` Sven Luther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050103070535.GA1644@pegasos \
--to=sven.luther@wanadoo.fr \
--cc=debian-powerpc@lists.debian.org \
--cc=krypton@ulrich-teichert.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikemartin@linux.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).