02-19-2005
can't mount a partition
Hello,
I have a problem on my sun station, that run solaris7.
To free temporarly a little space on /, I moved a few empty folders (mnt, net, awk, tftpboot) to the /home partition.
Unfortunately the system froze just after this...maybe I should not have move this files, I don't know, I am a beginner.
I had to do STOP+A, then boot -s to recover.
/home doesn't mount anymore.
I log as root, I can open file manager.
But /home directory is empty.
I re-create the files I moved.
I checked with another station, I have the 25 same file and folders in / (awk, bin, cdrom, dev, devices, etc, export, floppy, home, kernel, lib, lost+found, mnt, net, opt, platform, proc, sbin, tftpboot, tmp, TT_DB, usr, var, vol, xfn).
I reboot: same, /home doesn't mount.
Here is a copy of the sun boot screen:
Rebooting with command: boot
Boot device: disk File and args:
SunOS Release 5.7 Version Generic 64-bit [UNIX ® System V Release 4.0]
Copyright © 1983-1998, Sun Microsystems, Inc.
Configuring network interfaces: hme0 hme1
Hostname: semhost75
The system is coming up please wait.
Checking ufs filesystems
/dev/rdsk/c0t0d0s7: missing '.' I=1359523 OWNER=root MODE=40775
/dev/rdsk/c0t0d0s7: SIZE=512 MTIME=Feb 18 09:43 2005
/dev/rdsk/c0t0d0s7: DIR=/proc/0/cwd/home/sem/usr/images
/dev/rdsk/c0t0d0s7: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY: /dev/rdsk/c0t0d0s7 (/home)
WARNING -Unable to repair one or more of the following filesystems: /dev/rdsk/c0t0d0s7
Run fsck manually (fsck filesystem...)
Exit the shell when done to continue the boot process.
Type Ctrl-d to proceed with normal startup, (or give root password for system maintenance):
Then in a xterm window, I try fsck /dev/rdsk/c0t0d0s7 (this is my missing partition). Phase 2 doesn't work...screenshot attached.
Is there anything to try before re-install the os??
How can I recover my /home partition??
If you have any idea please let me know.
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am trying to mount a FAT16 and FAT32 partition on an already installed Redhat system.
I have tried to edit the fstab and mtab, and to put in the data I got from fdisk, but it just says cannot find it.
The information given by fdisk on /dev/hda is:
Device Boot Start ... (4 Replies)
Discussion started by: ghoti
4 Replies
2. Solaris
dear all,
that is my problem :
c0d0p1 is nt,
c0d0p2 is solaris
and other on extended partition is pcfs,
so how can i mount it somewhere?
because i dont know which one connect from raw to block dev.
/dev/rdsk/c0d0p?
any help would be great... :) (6 Replies)
Discussion started by: stdout
6 Replies
3. SCO
Hello ,
I 've got a problem with the root partition on my SCO 5.0.5 .
When I check the disk with df or mount , I can 't see the root filesystem .
# mount
/stand on /dev/boot read only on Tue Sep 05 16:13:51 2006
/home on /dev/home read/write on Tue Sep 05 16:14:41 2006
But , if I try... (3 Replies)
Discussion started by: npn35
3 Replies
4. UNIX for Dummies Questions & Answers
I've created a partition with GNU Parted, how do I mount the partition?
The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards.
Thanks,
--Todd (1 Reply)
Discussion started by: jtp51
1 Replies
5. Solaris
Dear Brothers
First i installed suse linux with the following partition. my hd0 size is 75gb
hdc1 swap 1 gb
hdc2 native linux 39gb
For the rest of the 35 gb i did not create any partition. so i planned to install solaris 10x86 on that free space.
When i installed the solaris i... (1 Reply)
Discussion started by: sayed_021
1 Replies
6. Red Hat
I dualboot Ubuntu and Fedora in one hard drive. Below are the scenario.
First, installed Ubuntu 10.4 on the entire disk (40GiB of size).
Then, shrink the Ubuntu installation to equal size to free up space for fedora.
Second, installed Fedora 13 using the option "Use free space on selected... (2 Replies)
Discussion started by: etcpasswd
2 Replies
7. UNIX for Dummies Questions & Answers
Hello,
Im new here, and may be my question is stupid, but...
Today I run PGP Desktop decript on my 2nd partition ( D:\ ) and when decript finish, I restart my PC.Now when I try to open D:\ its give me: D:\ is not accessable and I lose my files :(
So I load Linux live CD ( knoppix ) and try to... (1 Reply)
Discussion started by: mrowcp
1 Replies
8. UNIX for Dummies Questions & Answers
I want to gain read/write access to a Windows 8 partition from a linux live cd. Prior to Windows 8, I used ntfs-3g to mount the partition from the command line.
The "Fdisk -l" command does not seem to be able to read efi partitions. There must be some new strategy for linux users. This is... (6 Replies)
Discussion started by: jamarsh
6 Replies
9. AIX
Hello, today i get some aix errors (can't lock files and strange things) then i umount FS to do a fsck but i get these errors
root@omega / > fsck -p /dev/fslv06
The current volume is: /dev/fslv06
Unable to read primary superblock.
Unable to read either superblock.
I readed on this page... (9 Replies)
Discussion started by: thorin666
9 Replies
10. OS X (Apple)
Hi,
In Linux, I had modified fstab file which used to mount ~/Music, ~/Pictures, etc with disk partitions containing corresponding content or binding directory located at other partition. But I am wondering can I do same in El-Capitan as well? No linking!
/media/L-Store/Desktop/Documents ... (0 Replies)
Discussion started by: ezee
0 Replies
LEARN ABOUT CENTOS
installgrub
installgrub(1M) installgrub(1M)
NAME
installgrub - install GRUB in a disk partition or a floppy
SYNOPSIS
/sbin/installgrub [-fm] stage1 stage2 raw-device
The installgrub command is an -only program. GRUB stands for GRand Unified Bootloader.
installgrub installs GRUB stage 1 and stage 2 files on the boot area of a disk partition. If you specify the -m option, installgrub
installs the stage 1 file on the master boot sector of the disk.
The installgrub command accepts the following options:
-f
Suppresses interaction when overwriting the master boot sector.
-m
Installs GRUB stage1 on the master boot sector interactively.
The installgrub command accepts the following operands:
stage1
The name of the GRUB stage 1 file.
stage2
The name of the GRUB stage 2 file.
raw-device
The name of the device onto which GRUB code is to be installed. It must be a character device that is readable and writable. For disk
devices, specify the slice where the GRUB menu file is located. (For Solaris it is the root slice.) For a floppy disk, it is
/dev/rdiskette.
Example 1: Installing GRUB on a Hard Disk Slice
The following command installs GRUB on a system where the root slice is c0d0s0:
example# /sbin/installgrub /boot/grub/stage1
/boot/grub/stage2 /dev/rdsk/c0d0s0
Example 2: Installing GRUB on a Floppy
The following command installs GRUB on a formatted floppy:
example# mount -F pcfs /dev/diskette /mnt
# mkdir -p /mnt/boot/grub
# cp /boot/grub/* /mnt/boot/grub
# umount /mnt
# cd /boot/grub
# /sbin/installgrub stage1 stage2 /dev/rdiskette
/boot/grub
Directory where GRUB files reside.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
boot(1M), fdisk(1M), fmthard(1M), kernel(1M), attributes(5)
Installing GRUB on the master boot sector (-m option) overrides any boot manager currently installed on the machine. The system will always
boot the GRUB in the Solaris partition regardless of which fdisk partition is active.
24 May 2005 installgrub(1M)