From: "Jim Hoepner" <jhoepner@tvsw.org> Date: Thu, 15 Jun 2000 07:57:36 -0500 Message-ID: <000501bfd6c9$4837f2e0$921f43a7@pc01319.emd.com> Subject: RE: New Thread - Getting "Block 0 not valid bootblock" error
Based on some more input I re-did my install procedure.
When I boot from my HD everything goes real good right up
until I get the "Ok, booting kernel" message - then CPU
HALT.
Oh, I should mention that I do not have a /boot/vmlinux.gz
file. I do have /boot/vmlinuz and /boot/bootlx files. The
command I used to boot my HD is:
>>>boot dka0 -file "vmlinuz" -flags"ro root=/dev/sda4"
Here's the changes based on emails from: Rafael Herrera,
Ruediger Oertel,
Stefan Fent
061400
############################################################
CONSOLE COMMAND REFERRER
------- ------------------------------ ---------------
srm set boot_file 1/vmlinux.gz Ruediger Oertel
aboot> 1/vmlinux.gz ro root=/dev/sda3 Ruediger Oertel
SRM >>>boot dka0 -file "vmlinux.gz"
-flags "ro root=/dev/sda3" Rafael Herrera
fdisk a: = /boot (started at cyl 3)
fdisk b: = swap (cyl 4-270)
fdisk d: = / (cyl 271-8347) Stefan Fent
############################################################
Here's the install sequence:
************************************************************
CONSOLE COMMAND DESCRIPTION
SRM >>>set boot_file ""
SRM >>>set bootdef_dev ""
SRM >>>set boot_osflags "" I'll set sys var's later
SRM >>>boot dka200 -fl 0 Boot from CD
fdisk b Enter BSD mode
fdisk n Create partition table
a:Cyl 3-13, type ext2 (8) mount to /boot
b:Cyl 14-270, type swap (1) swap
d:Cyl 271-8347, type ext2 (8) mount to /
fdisk w Write partition to disk
fdisk q Quit fdisk
fdisk ALT-F1 Go back to YaST
YaST ABORT Go back to YaST's main
menu and go back in so
the swap partition is
recognized
YaST Initialize Swap
YaST Start Installation
When YaST starts choose 'DO NOT PARTITION' and it finds
the partitions created in fdisk above. Press <CONTINUE>
to move out of the 'EDITING THE PARTITIONTABLE' menu to
the 'CREATING FILESYSTEMS' menu.
YaST F5 Set /boot and /
"block size" to 1024
YaST F4 Set mount points
sda1 /boot
sda4 /
YaST F6 Choose 'NORMAL' format
sda1 and sda4
YaST <CONTINUE> Format and boot to
'Installation' screen.
YaST Load Configuration
SuSE Default
YaST Start Installation
Put CD 1 in CD-drive
YaST Main Menu
Yast Install AXP kernel to /boot
YaST Install .config to /usr/src/linux
YaST Yast reboots
YaST Create sample user
YaST Input config settings.
Set 'TIMEZONE'
Set 'HOSTNAME'
Set 'Real Network'
Set 'Dhcp Client'
Set 'inetd'
Set 'portmapper'
Set 'nfs server'
Set 'nameserver'
Set 'network' eth0 DEK Tulip dc21x4x PCI
Set 'SENDMAIL CONFIGURATION'
Set 'MODEM CONFIGURATION'
Set 'MOUSE CONFIGURATION'
YaST Yast boots system.
SuSE jed /etc/aboot.conf
Create Entries:
0:1/vmlinuz ro root=/dev/sda4
SuSE abootconf /dev/sda 4
SuSE swriteboot -f1 -v /dev/sda /boot/bootlx
SHUTDOWN / RESTART
NOTE: When YaST restarts it stops at SRM menu
because I don't have system variables set.
SRM >>>boot dka0 -file "1/vmlinuz"
-flags "ro root=/dev/sda4"
It starts booting, recognizes block 0 as boot block,
recognizes 4 partitions ok, switches from the "blue"
screen to the "black" background screen and finally
gets to the message: "Ok, booting kernel..." then I
get a CPU HALT.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Again and Again!
jrh
This archive was generated by hypermail 2.1.0 : Mon Jun 04 2001 - 04:18:22 PDT