Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[alpha] problem configuring the bootloader
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Fri Sep 15, 2006 12:31 pm    Post subject: [alpha] problem configuring the bootloader Reply with quote

hello everybody.

i have some trouble changing the configuration of my gentoo/alpha system.
currently the system has the following partitioning scheme on /dev/hda, which is the one and only harddisk in the system.
Code:
axp ~ # fdisk /dev/hda
Detected an OSF/1 disklabel on /dev/hda, entering disklabel mode.

BSD disklabel command (m for help): p

4 partitions:
#       start       end      size     fstype   [fsize bsize   cpg]
  a:        3        15        13       ext2
  b:       15       139       125       swap
  c:        1     30515     30515     unused        0     0
  d:      139     30514     30376       ext2

BSD disklabel command (m for help): q
axp ~ #
where partition a is from where i boot, b is of course swap and d is my "/" partition.

now i want to do some crazy stuff.
i have a little adapter which connects a 512MB CF card to the ide bus. no matter if you know such a thing or not. it just acts as a normal harddisk.
so now i want to have the kernel on a little partition on that new device (/dev/hdb), boot from that, but the "/" partition should stay von /dev/hda4.
the partitioning scheme on the new device is the following:
Code:
axp ~ # fdisk /dev/hdb
Detected an OSF/1 disklabel on /dev/hdb, entering disklabel mode.

BSD disklabel command (m for help): p

3 partitions:
#       start       end      size     fstype   [fsize bsize   cpg]
  a:        3       200       198       ext2
  b:      201       992       792       ext2
  c:        1       993       993     unused        0     0

BSD disklabel command (m for help): q
axp ~ #
i mounted the partition /dev/hdb1 as /boot and copied my kernel and system.map to the new location.
no problems until here.
now to writing the bootloader.
Code:
axp ~ # swriteboot /dev/hdb /boot/vmlinux
error: bootcode overlaps with partition #1. If you really want this, use -f1
axp ~ # swriteboot -f1 /dev/hdb /boot/vmlinux
error: bootcode overlaps with partition #3. If you really want this, use -f3
axp ~ # swriteboot -f3 /dev/hdb /boot/vmlinux
error: bootcode overlaps with partition #1. If you really want this, use -f1
axp ~ # swriteboot -f1 -f3  /dev/hdb /boot/vmlinux
axp ~ #
okay, so far so good.
but now:
Code:
axp ~ # abootconf /dev/hdb 1
abootconf: could not find aboot on disk /dev/hdb
axp ~ #
and this is the point where i am stuck. what is the problem here?
at last swriteboot ran without an error. why is the bootloader not found? or is this a wrong error message?

i am happy with every idea you provide.
thanks in advance

--alex
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum