Re: [8.1]Failiure o boot after install (revisited)

Rikard Johnels <[email protected]> Tue, 28 Sep 2004 11:20:36 +0200
Newsgroups gmane.linux.suse.axp
Message-ID <[email protected]>
Ok.
Re-did everything from scratch

Here is the LONG version of what i did so far

System:
 AlphaStation 255
 2.1 Gb disk as dka0 (/dev/sda)
 SRM boot system
 
This is what i do:

1. Boot from SRM
 boot dka4 (Where dka4 is my cd)

 Choose "English"
 
 "Error cant find the image!
 Check the directory specification"
 (Ignored, as it will sort itself out later)
 
 As the Main Menu appears:
 -> Kernel modules
  -> Load Network card modules
   -> de4x5 (the internal AS nic)
   No parameters, Loads successfully.
  -> Load filessytem modules
   -> Reiserfs (as it is the one i want)
   Loaded successfully.
  -> Back
 -> Start instalation/update
  -> Network
   -> NFS
    -> DHCP Yes
    Server 192.168.1.2
    Dir: /mnt/hdd/os/suse/axp/supplementary/8.1
 
 It loads fine. Checking for various things as expected.
 Yast fires up. Ready to install.
 
  
2. Wipe diskpartiton
 Switch to second console (alt-f2)
 
 dd if=/dev/zero of=/dev/sda bs=512 count=1024
 1024+0 records in
 1024+0 records out
 
 The count is large to be sure everyting in the begining is wiped

2. Make BSD disklabel 
 fdisk /dev/sda
  "Device contains neither a valid...."
  -> b (edit bsd disklabel)
  /dev/sda contains no disklabel.
  Do you want to create a disklabel? (y/n) y
  (Lots of informational text)
  
  "c 1 1023 1023 unused 0  0"

BSD disklabel command:
  -> n
  Partition(a-h)  a
  First cyliner (1-1023, default 1): 3 
  Last cylinder: +20M   (Going for separate /boot part)
  ->n
  Partition(a-h)  b
  start 14, end 860 
  ->n
  Partition(a-h)  d
  Start 861 end 1023
  
  ->t (Change file system id)
  part a = 8 (ext2)
  part b = 8 (ext2)
  part d = 1 (swap) 
  
  -> w (write to disk)
  -> q (quit)
  
3. Reboot

4. Redo step 1
 After CD-system is up. Switch to second console and make file systems
 /dev/sda1 ext2
 /dev/sda2 reiserfs
 /dev/sda4 swap

5. Reboot (Probably not neccecary, but to be safe)

6. Redo step 1
 - Choose: "New Instalation"
 - Change Keyboard layout to Swedish
 - Change Software to "Minimum System"
  Manually deselect openssh in "Detailed selection"
  due to compilation mismatch on AS255
 - Change Partitioning
  Create Custom partitions setup
   Custom Partitioning
    Choose /dev/sda1 as /boot
    Choose /dev/sda2 as /
    Choose /dev/sda4 as swap
  No format of filesystems
 - Change Timezone (Europe/Sweden)
 
 Accept and start install


During the Update Configurations step i get a "gzip: stdout: broken pipe"
after 28%, but the instalation continues

Then the system boots into the installed, and i finish the setup

I make sure i add "reiserfs" to INITRD_MODULES in /ets/sysconfig/kernel
I make a mkinitrd

I issue a reboot after all is done.

->>> Boot dka0

(Lots of text cut)

boot: booting from device 'SCSI 0 6 0 0 0 0 0'
boot: valid disklabel found: 3 partitions
ext2_init: bad magic 0x0
boot: mount of partition 2 failed

I quit aboot and issue "boot dka0 -fi 1/vmlinuz -fl root=/dev/sdb2"

That boots the kernel, but renderas a

VFS: Cannot open root device "sda2" or 08:02
Please append correct "root=" option
Kernel panic: VFS: Unable to mount root fs on 08:02



So now what?
I am back to square one again...

-- 

         /Rikard

------------------------------------------------------------------------------------
Rikard Johnels          email   : [email protected]
                        Web     : http://www.rikjoh.com
                        Mob     : +46 735 05 51 01

------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78  46 1C EE 56 >