Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo 2004.3 on lx164 EV56
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
sandman2036
n00b
n00b


Joined: 26 Feb 2004
Posts: 43
Location: Purgatory

PostPosted: Mon Mar 28, 2005 6:30 am    Post subject: Gentoo 2004.3 on lx164 EV56 Reply with quote

I'm installing Gentoo on a lx164 board using a sym53c8xx card to boot. the entire "stage 1" install went smooth until I came to a boot loader. I'm trying to use aboot but when I try to execute "swriteboot -f3 /dev/sda /boot/bootlx" the out put reads
Existing disk label is corrupt
Couldn't get a valid disk label, exiting


My disk partition looks something like this

Device Boot Start End Blocks Id System
/dev/sda1 * 5 120 118784 83 Linux
/dev/sda2 121 365 250880 82 Linux swap / Solaris
/dev/sda3 366 4357 4087808 83 Linux

At this point I’m at a loss of what I can do.
_________________
Windows = Caveat Emptor
Back to top
View user's profile Send private message
dbackeberg
n00b
n00b


Joined: 15 Mar 2005
Posts: 25
Location: Boston

PostPosted: Tue Mar 29, 2005 4:22 pm    Post subject: AlphaBIOS or SRM Reply with quote

Are you using AlphaBIOS or SRM? If you're using SRM, you should be using a BSD-style partition table.

What does the system look like when you're first booting? Does it display a pretty graphic that says alpha, or do you get a blue and white (or black and white) screen, that dumps you to a >>> prompt?
Back to top
View user's profile Send private message
sandman2036
n00b
n00b


Joined: 26 Feb 2004
Posts: 43
Location: Purgatory

PostPosted: Wed Mar 30, 2005 3:26 am    Post subject: Reply with quote

Originally it was the alpha bios when it was an nt machine but since then I loaded the SRM console.
_________________
Windows = Caveat Emptor
Back to top
View user's profile Send private message
dbackeberg
n00b
n00b


Joined: 15 Mar 2005
Posts: 25
Location: Boston

PostPosted: Wed Mar 30, 2005 2:45 pm    Post subject: Reply with quote

sandman2036 wrote:
I loaded the SRM console.


If you're using the SRM, you need to partition your drive to use BSD disk labels. See the Gentoo alpha handbook for information about how to format your drive in this manner using fdisk. (hint: use b to initialize your drive rather than o)

If you're really careful about it, I THINK you can reuse your current sector settings when you change your partition table. Use the sector numbers from your current fdisk output, but that's not a guarantee, just a wish.
Back to top
View user's profile Send private message
sandman2036
n00b
n00b


Joined: 26 Feb 2004
Posts: 43
Location: Purgatory

PostPosted: Fri Apr 01, 2005 9:27 pm    Post subject: Reply with quote

Would this require starting over or just plaing with the boot partition.
_________________
Windows = Caveat Emptor
Back to top
View user's profile Send private message
dbackeberg
n00b
n00b


Joined: 15 Mar 2005
Posts: 25
Location: Boston

PostPosted: Fri Apr 01, 2005 10:31 pm    Post subject: Reply with quote

sandman2036 wrote:
Would this require starting over or just plaing with the boot partition.


I'm not sure. I've never been in that situation. Here's what I would try:

fdisk -l /dev/sda

write down all the output, or just review your earlier entry in the forum. Note all the sector counts.

fdisk /dev/sda
b (for new BSD disklabel)
n (for new partition)
set the same begin and ending blocksize, etc. until you've recreated the partition table you had before, only with a bsd disklabel
w to save.

There are some utilities to try to reread your partition table without rebooting, but I'm not sure if they work on Alpha:
partprobe (part of gnu parted)
blockdev --rereadpt

Regardless of whether those seem to work, try rebooting, then try to mount the partitions and see if you can manage to not have to start over again. If you're lucky, everything will still be there.
Back to top
View user's profile Send private message
sandman2036
n00b
n00b


Joined: 26 Feb 2004
Posts: 43
Location: Purgatory

PostPosted: Mon Apr 04, 2005 4:41 am    Post subject: Reply with quote

If I write A BSD disk label can I do this on a ext2 partition or do I have to do this on a BSD type partition
_________________
Windows = Caveat Emptor
Back to top
View user's profile Send private message
sandman2036
n00b
n00b


Joined: 26 Feb 2004
Posts: 43
Location: Purgatory

PostPosted: Mon Apr 04, 2005 9:25 am    Post subject: Reply with quote

Every thing seems to be in order. It wasn’t until about an hour ago I realized I was reading the x86 book rather than the Alpha one.
_________________
Windows = Caveat Emptor
Back to top
View user's profile Send private message
dbackeberg
n00b
n00b


Joined: 15 Mar 2005
Posts: 25
Location: Boston

PostPosted: Mon Apr 04, 2005 1:23 pm    Post subject: Reply with quote

sandman2036 wrote:
Every thing seems to be in order. It wasn’t until about an hour ago I realized I was reading the x86 book rather than the Alpha one.


Oops! Yeah, the alpha book will definitely get you where you want to go faster. But at some point you must have been reading the alpha book, or you wouldn't have known about swriteboot.
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