11-22-2002
How are you running fsck? Post the command you used.
If you set up your system as SUN would do, then c0t3d0s0 is your / partition. Doing a boot from cdrom into single user may be the way to go. Then you can fsck -y /dev/c0t3d0s0 to try to fix it.
You may also want to reinstall the boot block. You need to boot a cd that is the same OS version. See the info in
SunSolve install bootblock (step 13). There is other good info in restoring a failed drive in there too.
10 More Discussions You Might Find Interesting
1. Solaris
Hi ,
We are using Veritas Net Backup , I want to create a new policy for backing up the (Solaris Operating System & the file systems) only the OS. not Full backup because we have an other policy for Oracle Apps and it takes full backup for all Partitions.
I need the OS backup to be in... (2 Replies)
Discussion started by: adel8483
2 Replies
2. UNIX for Dummies Questions & Answers
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
3. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
4. Solaris
I'm trying to install to get SUNWrsc from SunSolve Home Page
i have an rsc card installed on my machine .
now i cannot grab a copy of the patch due to oracle policy , you need a support contract to get patchs and i don't have one now .
also i have no media for solaris sparc and supplemental ... (4 Replies)
Discussion started by: h@foorsa.biz
4 Replies
5. Red Hat
when system is hung state due to swap, we will reboot it through ILO.
i want to know which process caused system hung. (1 Reply)
Discussion started by: Naveen.6025
1 Replies
6. Shell Programming and Scripting
We would be migrating UNIX file system to Linux file system.
We do have many directory and sub directories with files.
after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies
7. AIX
Hi Admins,
I am having a whole system lpar in open firmware state on HMC.
How can I bring it to running state ?
Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies
8. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
9. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
10. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
LEARN ABOUT FREEBSD
zfsboot
ZFSBOOT(8) BSD System Manager's Manual ZFSBOOT(8)
NAME
zfsboot -- bootcode for ZFS on BIOS-based computers
DESCRIPTION
zfsboot is used on BIOS-based computers to boot from a filesystem in a ZFS pool. zfsboot is installed in two parts on a disk or a partition
used by a ZFS pool. The first part, a single-sector starter boot block, is installed at the beginning of the disk or partition. The second
part, a main boot block, is installed at a special offset within the disk or partition. Both areas are reserved by the ZFS on-disk specifi-
cation for boot use. If zfsboot is installed in a partition, then that partition should be made bootable using appropriate configuration and
boot blocks described in boot(8).
BOOTING
The zfsboot boot process is very similar to that of gptzfsboot(8). One significant difference is that zfsboot does not currently support the
GPT partitioning scheme. Thus only whole disks and MBR partitions, traditionally referred to as slices, are probed for ZFS disk labels. See
the BUGS section in gptzfsboot(8) for some limitations of the MBR scheme support.
USAGE
zfsboot supports all the same prompt and configuration file arguments as gptzfsboot(8).
FILES
/boot/zfsboot boot code binary
/boot.config parameters for the boot block (optional)
/boot/config alternative parameters for the boot block (optional)
EXAMPLES
zfsboot is typically installed using dd(1). To install zfsboot on the ada0 drive:
dd if=/boot/zfsboot of=/dev/ada0 count=1
dd if=/boot/zfsboot of=/dev/ada0 iseek=1 oseek=1024
If the drive is currently in use, the GEOM safety will prevent writes and must be disabled before running the above commands:
sysctl kern.geom.debugflags=0x10
zfsboot can also be installed in an MBR slice:
gpart create -s mbr ada0
gpart add -t freebsd ada0
gpart create -s BSD ada0s1
gpart bootcode -b /boot/boot0 ada0
gpart set -a active -i 1 ada0
dd if=/boot/zfsboot of=/dev/ada0s1 count=1
dd if=/boot/zfsboot of=/dev/ada0s1 iseek=1 oseek=1024
Note that commands to create and populate a pool are not shown in the example above.
SEE ALSO
dd(1), boot.config(5), boot(8), gptzfsboot(8), loader(8), zfsloader(8), zpool(8)
HISTORY
zfsboot appeared in FreeBSD 7.3.
AUTHORS
This manual page was written by Andriy Gapon <avg@FreeBSD.org>.
BUGS
Installing zfsboot with dd(1) is a hack. ZFS needs a command to properly install zfsboot onto a ZFS-controlled disk or partition.
BSD
September 15, 2014 BSD