Re: how-to? aboot/SRM

Will Woods <[email protected]>
Newsgroups gmane.linux.gentoo.alpha
Message-ID <[email protected]>
Mike Marsh wrote:

> I think I got aboot successfully installed, but aboot fails to mount
> partition 2.  Here is a summary of my fstab:  
> /dev/sda1  /boot  ext2   
> /dev/sda3  /      ext2
> /dev/sda2 none    swap

You don't want to mount partition 2. Partition 2 is swap. Your boot 
partition is partition 1. When you install the bootloader on the disk 
with swriteboot, you can tell it which partition it should boot from 
with the -c flag, just for convenience. Since your boot partition is #1, 
you should have run swriteboot with -c1, like this:

swriteboot -c1 /dev/sda bootlx

The example at the end of the aboot ebuild uses -c2 because the example 
is booting from partition 2.

> aboot> b /boot/vmlinuz
> aboot: don't know how to mount partition 2 (fileystem type 1)
> aboot: mount of partition 2 failed
> aboot>

To get the system to boot, you can change the partition at the aboot prompt:
aboot> p 1
then
aboot>

(if your kernel is not named vmlinuz, try doing 'd' to list the files on 
your boot partition to find the proper name.)

Once you've got the system booted, you'll want to ake sure you have a 
proper line in /boot/aboot.conf for your kernel, something like:
0:/boot/vmlinux.gz root=/dev/sda3 ro

then you can re-run swriteboot as above, and you should be able to boot 
your machine with:

 >>> b dka0 -fl 0

More information can be found here:
http://www.alphalinux.org/faq/aboot.html

-will


--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.