11-12-2003
Ok I'm getting really confused what has gone on with my system. I have been running mandrake on my system for over 6 months with no problem using the following fstab configeration:
/dev/hda5 / ext3 defaults 1 1
none /dev/pts devts mode 0620 00
none /dev/shm tmpfs defaults 0 0
/dev/hda8 /home ext3 defaults 1 2
/dev/hda1 /home/jay/windows/c: ntfs
/dev/hda6 /home/jay/windows/e: ntfs
/mnt/cdrom (etc)
/mnt/floppy (etc)
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
As I was getting the super-block error against hda8 I commented it out of the fstab.
As a last ditch attempt to get it working for some reason I decided to mount hda8 manually. I tried manually mounting it as ntfs and it mounted?? Checked what was on there and it was my windows e: drive?? For some reason the following has changed from:
hda1 = NTFS c:
hda2 = ??
hda5 = ext3 / (root)
hda6 = NTFS e:
hda7 = Swap swap
hda8 = ext3 /home
to:
hda1 = NTFS c:
hda2 = ??
hda5 = ext3 / (root)
hda6 = Not sure (Swap?? not mount yet so not 100% sure)
hda7 = ext3 /home
hda8 = NTFS e:
How has the above changed?? Possible because I installed Partition magic 8?? Although I installed it, it was only to create rescue disk to fix someone else computer as I needed to save some data for them. All I did was go into the program but never modified anything!!
Can anyone shed any light on this?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
when installing a piece of third part software I get the error "Bad magic number" at one point when it tries to use libraries from the bea tuxedo server. Am I correct that this means that the software is expecting 32bit while I'm on 64bit? Is there a way around it or can it only be solved... (5 Replies)
Discussion started by: rein
5 Replies
2. Filesystems, Disks and Memory
Dear All,
i have a SCSI hard disk drive i'm installing on it solaris 5 and the workstation is sun sparc, i made an image of this H.D using Norton Ghost 6, so i took off the SCSI H.D from the sun workstation and put it on a Compaq server then i booted the server from the Norton Ghost floppy disk... (0 Replies)
Discussion started by: wesweshahaha
0 Replies
3. HP-UX
Error received when I tried to restore a blank disk with an 'auto recovery' DDS tape via HP-UX recovery system 2.0 onto a 1Gb SCSI. I assumed it would do the setup, wrong. Could someone tell me the procedure to initial disk for recovering files using cpio. The system is a HP-UX 9.04 version on a... (1 Reply)
Discussion started by: admin wanabee
1 Replies
4. Filesystems, Disks and Memory
I had a power outage a day ago and when the power came back on my FreeBSD 4.6 webserver had problems. It said it was unable to mount /var and made me start in single user mode and said to run fsck MANUALY. So i did and this is now what i get.
www# fsck /dev/ad0s1e
** /dev/ad0s1e
BAD SUPER... (4 Replies)
Discussion started by: matthewbane
4 Replies
5. Solaris
I want mount a disk. I have this error. I'm trying to correct with the superblock but i have the same error. Look my procedure.
bash-2.03# fsck -F ufs /dev/rdsk/c0t1d0s0
Alternate super block location: 9423392.
** /dev/rdsk/c0t1d0s0
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE... (1 Reply)
Discussion started by: simquest
1 Replies
6. Filesystems, Disks and Memory
Whenever i run,
# fsck -F ufs /dev/dsk/c0t0d0s7
The following error prompt out:-
** /dev/dsk/c0t0d0s7
BAD SUPER BLOCK: MAGIC NUMBER WRONG
USE AN ALTERNATE SUPER-BLOCK TO SUPPLY NEEDED INFORMATION;
eg. fsck -o b=#
where # is the alternate super block. SEE fsck_ufs(1M).
... (3 Replies)
Discussion started by: beginningDBA
3 Replies
7. Solaris
I'll keep it fairly straight forward. I work with a Solaris server and magically today it decided to take a dump on me. At first it give a long list of files that couldn't be acessed before terminating the boot process and returning to the 'ok' prompt. Booting in single-user mode allowed me to run... (4 Replies)
Discussion started by: Aon
4 Replies
8. Filesystems, Disks and Memory
Hello all,
I have a hard drive that I can't repair.
The drive is WD15EARS - Filesystem ext4 ( not 100% sure )
It's used in a Synology DS110j NAS.
I try to run fsck -p /dev/sdb on the HD and I get this:
Bad magic number in super-block while trying to open /dev/sdb
/dev/sdb:
The superblock... (4 Replies)
Discussion started by: dallasw1983
4 Replies
9. Solaris
So we have a new to us v240 server with no OS installed. It has an outdated version of OB and ALOM so before we install the OS we want to update both. We have a DVD with the latest OB patch burned on it.
We do the boot cdrom command but receive the Bad Magic Number Error. Does an OS need to... (2 Replies)
Discussion started by: dunkpancakes
2 Replies
10. Solaris
This is first time post...found this forum when looking for possible solution to fix my sun pc. Just one day can't boot it already showing the following:
Boot device: disk File args:
Bad magic number in disk label
Can't open disk label package
Evaluating: boot
Can't open boot device... (40 Replies)
Discussion started by: SHuKoSuGi
40 Replies
LEARN ABOUT CENTOS
ntfscp
NTFSCP(8) System Manager's Manual NTFSCP(8)
NAME
ntfscp - copy file to an NTFS volume.
SYNOPSIS
ntfscp [options] device source_file destination
DESCRIPTION
ntfscp will copy file to an NTFS volume. destination can be either file or directory. In case if destination is directory specified by name
then source_file is copied into this directory, in case if destination is directory and specified by inode number then unnamed data
attribute is created for this inode and source_file is copied into it (WARNING: it's unusual to have unnamed data streams in the directo-
ries, think twice before specifying directory by inode number).
OPTIONS
Below is a summary of all the options that ntfscp accepts. Nearly all options have two equivalent names. The short name is preceded by -
and the long name is preceded by --. Any single letter options, that don't take an argument, can be combined into a single command, e.g.
-fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name.
-a, --attribute NUM
Write to this attribute.
-i, --inode
Treat destination as inode number.
-m, --min-fragments
Minimize fragmentation when allocating space to the attribute. This is mostly useful when creating big files.
-N, --attr-name NAME
Write to attribute with this name.
-n, --no-action
Use this option to make a test run before doing the real copy operation. Volume will be opened read-only and no write will be done.
-f, --force
This will override some sensible defaults, such as not working with a mounted volume. Use this option with caution.
-h, --help
Show a list of options with a brief description of each one.
-q, --quiet
Suppress some debug/warning/error messages.
-V, --version
Show the version number, copyright and license ntfscp.
-v, --verbose
Display more debug/warning/error messages.
DATA STREAMS
All data on NTFS is stored in streams, which can have names. A file can have more than one data streams, but exactly one must have no name.
The size of a file is the size of its unnamed data stream. Usually when you don't specify stream name you are access to unnamed data
stream. If you want access to named data stream you need to add ":stream_name" to the filename. For example: by opening "some.mp3:artist"
you will open stream "artist" in "some.mp3". But windows usually prevent you from accessing to named data streams, so you need to use some
program like FAR or utils from cygwin to access named data streams.
EXAMPLES
Copy new_boot.ini from /home/user as boot.ini to the root of an /dev/hda1 NTFS volume:
ntfscp /dev/hda1 /home/user/new_boot.ini boot.ini
Copy myfile to C:somepathmyfile:stream (assume that /dev/hda1 letter in windows is C):
ntfscp -N stream /dev/hda1 myfile /some/path
BUGS
There are no known problems with ntfscp. If you find a bug please send an email describing the problem to the development team:
ntfs-3g-devel@lists.sf.net
AUTHORS
ntfscp was written by Yura Pakhuchiy, with contributions from Anton Altaparmakov and Hil Liao. It was ported to ntfs-3g by Erik Larsson.
DEDICATION
With love to Marina Sapego.
AVAILABILITY
ntfscp is part of the ntfs-3g package and is available from:
http://www.tuxera.com/community/
SEE ALSO
ntfsprogs(8)
ntfs-3g 2017.3.23 September 2007 NTFSCP(8)