Gentoo Archives: gentoo-mips

From: Karin Willers <karin@×××××.de>
To: gentoo-mips@l.g.o
Subject: Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard
Date: Sun, 02 Mar 2008 19:34:27
Message-Id: 1204486455.5568.26.camel@ratlos
In Reply to: Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard by Karin Willers
Hello, it's me again ...

things seem not to be so easy ....

I ended up with a disk configuration as follows:

/ # fdisk /dev/sda

Command (m for help): p

Disk /dev/sda (SGI disk label): 64 heads, 32 sectors, 0 cylinders
Units = cylinders of 2048 * 512 bytes

----- partitions -----
Pt#    Device  Info     Start       End   Sectors  Id  System
 1: /dev/sda1  boot       101      8682  17575936  83  Linux native
 2: /dev/sda2  swap         2       100    202752  82  Linux swap
 9: /dev/sda3               0         1      4096   0  SGI volhdr
11: /dev/sda4               0      8682  17781520   6  SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
 0: sgilabel   sector    2 size     512
 1: sash       sector    3 size  266240
 2: ide        sector  523 size  266240
 3: IP30prom   sector 1043 size  879104

Command (m for help): q


Don't know, whether this is ok?? Then a mke2fs revealed the following:


/ # mke2fs -j /dev/sda1
mke2fs 1.38 (30-Jun-2005)
Warning: could not erase sector 2: Attempt to write block from
filesystem resulted in short write
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1095584 inodes, 2189410 blocks
109470 blocks (5.00%) reserved for the super user
First data block=0
67 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Warning: could not read block 0: Attempt to read block from filesystem
resulted in short read
Warning: could not erase sector 0: Attempt to write block from
filesystem resulted in short write
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:
Warning, had trouble writing out superblocks.done

This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
/ #

Any comments??

The Gentoo documentation seems not to be in sync with the actual
fdisk command options ... 

Thanks,  Karin
===========
2 at 17:33 +0100, Karin Willers wrote:
> Hello All, > > bootp(): root=/dev/ram0 CONSOLE=/dev/ttyS0 > > did it - thanks for the speedy reply! > > Cheers, Karin > ----- > On Sun, 2008-03-02 at 18:11 +0200, Panagiotis Christopoulos wrote: > > On 16:47 Sun 02 Mar , Karin Willers wrote: > > > Hello All, > > > > > > I'm currently trying to install Gentoo MIPS on an IP30 without > > > monitor (and hence no keyboard connected). Connection to the > > > Octane is made serially from a laptop running minicom. > > > > > > I think, the machine (R12000 @ 400 MHz, 2 GByte RAM) boots the > > > ip30-r10k+-20050820.img image file correctly: > > > > > > >> bootp(): root=/dev/ram0 > > > Setting $netaddr to 192.168.0.70 (from server ) > > > Obtaining from server > > > 8520560+306368 entry: 0xa800000020799000 > > > > > > but there is no further output; probably there is no getty > > > running on the serial port. > > > > > > Question 1: Is there an image that has serial console enabled? > > I'm not sure, but you can try this: > > bootp(): root=/dev/ram0 CONSOLE=/dev/ttyS0 > > or > > bootp(): root=/dev/ram0 CONSOLE=/dev/ttyS1 > > > > > Question 2: What is the format of the .img file that is loaded > > > via tftp - maybe there's a chance to add an entry for the > > > serial port (what is the proper special file here?) in the > > > initrd? > > > > > > Thanks, Karin > > > > > I hope this works, > > > > Panagiotis Christopoulos(pchrist) >
-- gentoo-mips@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-mips] IP30: Gentoo installation without monitor & keyboard Panagiotis Christopoulos <pxrist@×××××.com>