General :: How To Set Ext3 Partition Hidden Flag
Apr 15, 2010I have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?
View 1 RepliesI have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?
View 1 RepliesLittle explanation: OEM HP pcs come with an HP_RECOVERY partition which contains an installer which will wipe the HD and install vista (shivvers) Now despite how much I looooove vista, I was wondering why the OS_TOOLS partition shows up in places and recovery doesn't... especially cause niether have a hidden flag...
(As a side note, what the hell does OS_TOOLS do? google yields no answers)
I have recently reformatted my external hard disk to ext3, and now whenever I delete something via my file manager, a hidden directory (".Trash-1000") is made. I would like to keep this drive clean, is there any way to stop the directory from being made? I'm getting annoyed having to rm -r it every time I delete something.
View 3 Replies View RelatedA HP Netserver LP2000r, with original SCSI controller and HP NetRaid-2M controller, 3x 36GB Ultra3 HDD in RAID5, Debian (sarge/etch), has crashed after 992 days without reboot. From all that I can see, a hardware failure, most likely with the memory. The HP Diagnostic tools cannot find any problem, but everytime I boot into Knoppix, I get between 2minutes and 2 hours of runtime, and then either a kernel oops or just a complete and sudden halt.
Well, the box has earned its money. However, there is some data on the drives that I need to recover (yes, I have beaten myself up properly about not backing up that data, don't even go there !). There are three partitions: sda1 is /, sda2 is swap and sda3 is a LVM volume with 3 logical volumes on it. As far as I can tell, the hardware defect must have been creeping in and has made a total mess of the inodes in all these partitions.
After booting into Knoppix, I can restore the volumes using pvscan, vgscan, lvscan, vgcfgrestore and vgchange. If I try and mount them: mayhem. So I try and check them, using fsck.ext3. All sorts of interesting nonsense, such as a completely empty inode 11 (the first inode) and then obviously from there on all else is pointless. I tried using debugfs, but the information on what to do with it is somewhat spurious.
P.S.: Tomorrow I will go and get myself a 16GB Flash Drive and then hopefully I will be able to dump the partitions one by one onto that drive and transfer the images onto a different computer for analysis and data recovery.
I recently installed Linux to run a few Linux based tools on a disk images I have, and I can't seem to copy the disk image over to my ext3 partition.
The particular distibution I'm using is BackTrack 4 r2, which is Ubuntu based. I can't seem to find specifically which version of Ubuntu is being used. The disk image is 108GB. It is currently located on a NTFS partition on a SATA hard drive connected directly to the computer. The ext3 partition is located on a second SATA hard drive connected to the same computer. It has 200GB total. I do not remember exactly how much free space it had but "df -h" showed a lot more than 108GB. The computer has 4GB of RAM and I gave it 8GB of swap space.
At this point it has been running for more than 12 hours. This is far longer than I would expect it to take had I been copying the file under Windows. How ever I do not have much experience with Linux, so if it's supose to take this long please let me know. I am planning on letting it run until I wake up tomorrow.
"cp -v" hasn't been very verbose at all. The only sign I have that indicates the computer is still trying to do something is the HDD light on my chasis that has stayed lit this whole time.
i m not able to copy a file over 16 gigs on an EXT2 or EXT3 partition. Is there a way to do this. I even tried to split my iso file too. I splitted my iso file in 4 files then copy them on the ext2 or ext3 partition. But as soon as I was trying to join the files together it never went over 16 gigs. Actually it stops at 16,843,020 kb exactly. is there a limit for those partitions or is there an another way to see my 20gigs iso file in one piece?
View 1 Replies View RelatedI need to copy data from a single HD, which used to be part of a Linux RAID 1. I've googled around, but can't find any clue how to mount partitions from this single HD.
Background: The HD comes from a linux based NAS box Synology DS207+. The NAS uses ext3 as filesystem. Both NAS disks are fine, but the other NAS hardware is dead and not worth repairing or replacing.
is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the group ownership of the partition to this group and adding each respective user to the group on every machine?This would mean that I need to have root privileges on every machine... which I may not have in some cases.I'm using the partition to store the code I'm developing on Linux and I would like the option to be safe... if possible.I could use a vfat partition but then I have no control of the rw rights + I cannot develop directly in the dir: I would always have to tar.gz the directory, extract, work, tar.gz, copy to the external drive.
View 2 Replies View Relatedfollowing problem. A friend phoned me in despair. Her Ubuntu didn't start any more - ASUS-Laptop switched on stops at a ramfs-prompt.
I started Puppy-Linux from DVD-Drive. Worked fine. But puppy can't mount her /dev/sda1 partition either. At least you can see that the partition is still there. Fsck stops with an error. May be the initial problem is a sort of bad hardware by which bad bytes were written to the hard drive. Hard drive and/or memory could be replaced but not the data.
These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop11 3965777 561064 3199964 15% [...]
/dev/loop19 573029 543843 29186 95% [...]
[code]....
I need to allow non-root users to read/write on an ext3 partition.
Below is the relevant output from fdisk -l
Code:
The partition in question is /dev/sda4 and it is mounted as /Data (setup during installation).
I've been trying to figure out how to move /home to the other partition that exists on my computer, however it's ntfs and turns out it's impossible to move my /home there. So how do convert that ntfs partition to ext3, I don't mind loosing data that's in that partition. [url] is the partition I'm talking about. So what's the best way to do it ? If you write what commands I should use please include partition names.
View 3 Replies View RelatedI am facing a serious problem.I installed UBUNTU 10.04 and encrypted it during installation. I accidentally erased some of the necessary files from root folder. now the the OS is NOT booting.luckily i still have the encryption key i have some important documents in that drive (desktop folder).
PS: I have tried to run Live Ubuntu it shows the Root, but it does not enter any of the folder.
Well I currently have a windows partition currently formatted as ext3 which has the partition flag bootable (It previously had Windows Vista on it). I also have a windows partition with NTFS filesystem with Windows 7 on it which is not bootable because the previously mentioned partition became formatted by me. And I also have more partitions for Ubuntu, which is currently the only OS working.
To show it visually: [URL]
So my question is can I delete the partition called "Inter" and recreate a new partition and format it again with ext3? It has the partition flag bootable, won't I loose all of the partitions this way? It's also the primary partition? Is there a big risk?
I just installed windows 7 and ubuntu stopped booting even though it was still there, so I thought I would just change the partition flag to boot. I found out later that I had to create a new mbr but after I changed the boot flag, windows 7 stopped booting and I tried changing it back, but it didnt work. So I was wondering if i didn't use the correct flags or is there another way to get windows 7 to boot again? I was using GParted to change the partition flags and that i am using windows 7 ultimate 64bit
View 1 Replies View RelatedI usually repartition a disk by backing up, deleting the partitions, formatting them and repartition. I just did a 200 gig backup (so i am safe) and i want to join 2 (ext3) partition together, sdb1 (data4) and sdb5 (data5) into one big partition. Is there a way to do it without scraping the data in sdb5 (data5). It would save me from rewriting the data back to that new partition (200 gig is time consuming).
View 1 Replies View RelatedI have an HP laptop with a recently installed copy of Mint 8 KDE Community Edition. I created the initial admin user account ("joseph") when I installed.
I had an existing home directory under a different name from another installation, so I added a user with that name ("joe") and imported a copy of the original home directory. The user "joe" didn't have the same admin privileges as the initial "joseph" account, so I added "joe" to the sudoers file and the same groups as the initial admin user.
Everything works perfectly under this arrangement, for the most part. Now here's the problem:
I have a T-Mobile G1 phone that uses Android. I've rooted and ROM-modded the G1, and have the microSD card in the phone set up with two partitions. The vfat partition stores all the photos, music and other stuff the phone needs. The ROM mod allows me to store apps on the SD card, so that second partition uses ext3 for its file system.
When I'm logged in as the admin "joseph" account and I insert the SD card in the laptop's card slot (or plug the phone into the USB port), the SD card can be mounted, and I have full access to both card partitions. I can see all folders. I do this to backup the contents of the card to an external drive (especially the apps in the ext3 partition, since that's been trashed on me once before on the phone).
However, when I log in as "joe", I cannot view the contents of the ext3 partition at all. I can see the vfat drive fine, and the ext3 partition mounts, but with user/group "joseph/joseph." When I open Dolphin to view the mounted ext3 partition, I get the error "could not enter folder /media/disk-1" at the bottom of the view window in Dolphin.
Here are the relative entries returned when I run "mount" to view the mounted drives:
/dev/mmcblk0p1 on /media/disk type vfat (rw,nosuid,nodev,uhelper=hal,uid=1001,utf8,shortname=mixed,flush)
/dev/mmcblk0p2 on /media/disk-1 type ext3 (rw,nosuid,nodev,uhelper=hal)
Note that the uid listed on the vfat mount is 1001, which is the gid for the "joe" account.
I know there must be a configuration setting somewhere that will allow the ext3 partition to automount under the "joe" user account. I suppose that using the admin account to change the permissions would be the easy way to do this, but there must be something that would do it automagically. I've ripped through all the config files I can find, but can't seem to find anything that would help.
All I'm looking for here is enough access to be able to copy the directories on that mount to my external drive.
I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?
View 11 Replies View RelatedI was having trouble with an old lvm partition so I pulled all the data off and now want to re-partition it as an ordinary ext3 partition.
But gparted offers only Logical Partition for that partition. How do I convert that partition to a Primary or Extended partition - and which do I want?
How do I solve the problem of "No swap space, check if decopserver is running" Presume an increase in hidden partition required, my guess. Am using the original Xandros OS.
View 2 Replies View RelatedI have 1 Drive i.e Z: which is kept hidden in my Windows 7. But its showing in Ubuntu as 250GB Partition. I want to hide that drive from Ubuntu, how can I do that? This is first time i've been using Ubuntu.
View 7 Replies View RelatedI Tarred and GZipped most of the data on one 1Tb partition and stuck the archives on a second 1Tb partition on a separate disk. I then proceeded to format the first partition with NTFS (from Linux.) The only problem is that I completely forgot that I had a CD drive and formatted sdc1 instead of sdd1! I began doing a full NTFS format and after a minute or two I cancelled it and decided to do a quick format. I then realized my mistake. I managed to find a copy of the superblock and began trying to recover the disk. fsck -t ext3 recognized the partition as NTFS but I luckily didn't have fsck.ntfs installed so it didn't touch it. I managed to get it working with fsck.ext3 (with -b,-B and -y) fsck.ext3 didn't mind that it was an NTFS partition.
Roughly how long will this take? It's running from Knoppix within a virtual machine to a USB hard drive which is 100% full. Days? Being that for a few minutes I attempted a full format am I going to end up with a bunch of corrupted archives? If I do end up with file corruption can anyone recommend a way of recovering the data / sorting it out? Is it likely to be just a few old files that are corrupt (It's my understanding that filesystems like to keep files in the same area on the disk to minimize the amount of head travel.) This might just be wishful thinking but as the filesystem fills up will ext3 put the newer files towards the end of the disk? If so then I'm hoping that a full NTFS format starts at the beginning of the disk.
Does Fedora install create an HPA? Is there any recommended disk editors for 64bit to view/ copy the HPA? Other softwares to view/copy the HPA? How to reset to native max size?
View 11 Replies View RelatedI have SATA Western Digital 120GB 5 yeras old hard drive. There are four primary partitions. In order FAT-32, JFS, EXT4 and the last SWAP. Yesterday I copied the third ext4 partition with Clonezilla. Everything was OK. But Clonezilla issued therey strange for me message (and upsetting): "Hidden data between MBR and first partition" It was about 32KB. Clonezilla copied this hidden part as well as MBR. Clonezilla sugested that these hidden data may be used for some technical reasons. Now my questions:
1. What does it mean hidden? I partitioned disk with GNU fdisk.
2. Where they may come from these hidden data?
3. Should I be aware of them? Is it possible this is a some kind of hardware virus?
4. How to clean disk?
I have a 2 TB disk in an external SATA dock, formatted with a single ext3 (Linux) partition, which doesn't show up in the Windows 7 Computer Management->Disk Management utility, even as a raw/blank disk. I've verified that there's nothing wrong with the disk by connecting it to my Linux machine and mounting it, and I've verified that the dock is functioning properly by connecting a different FAT32-formatted disk, which mounts flawlessly as expected.I realize that I can't actually read the ext3 partition without additional software (e.g., Ext3IFS), but why doesn't the disk show up at all? Is there some sort of stupid anti-Linux filter built in? Is there any way to force Windows to recognize the disk, so that I can at the very least use direct block access with it?
Background: I want to clone an identical 2 TB disk onto this one. Due to my hardware layout, it's much easier to have the source disk attached to one machine and the destination disk connected to another, and do the clone over the network (the network is not a bottleneck with switched gigabit ethernet), than it is to hook them both up to one machine.(1) I did this once before when both machines were running Linux, but I've since upgraded the destination machine and decided to switch back to Windows for regular desktop use. I've got Cygwin installed, and have verified that the same basic method (dd + nc) will work, but I can't do anything if Windows doesn't even consider the destination disk to exist.I only have one eSATA port on each machine. Opening them up just to do this clone is a rather large annoyance. Also, since this is my backup disk, I'd like to eventually automate the cloning from the active disk to another one that I regularly swap with a third disk that I store off-site.
I was installing Ubuntu on my new laptop (with plans to dual boot with Win 7) and, I'll admit, I did something stupid. You see, there was a 1 meg free space before the Windows 7 'hidden partition' and it was driving me nuts. So, what I did, was use gparted to move the hidden partition to the start of the drive (yes, a 1 meg move). Install of Ubuntu went off without a hitch, but after reboot things went a bit differently. The Recovery partition shows up as a possible boot partition in GRUB, in Windows 7 I can now see the recovery partition as a normal NTFS drive, and I can no longer use the features that the partition gives. I know this might be more of a 'ask on a Windows forum' question, but I was hoping someone else had done something like this and knew how to restore the hidden partition to being, well, hidden.
View 2 Replies View RelatedI have got a Acer Aspire 9300 which came with one of Bill Gates unreliable operating systems and a recovery partition in case something goes wrong. I surely installed linux (now on opensuse 11.4) as quickly as possible. mounting this hidden recovery partition under linux? All I can see is this from "fdisk -l"printout:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34fe34fd
[Code]....
I assume that the partition in question is between blocks 0 and 2047?
GNU GRUB 0.97
Ubuntu 8.04.4
2.6.24-26
Added an SSD (dev/sdc) and decided to move some less often changed directories there. Started with /usr and /boot, leaving / on a primary in the first drive, for now. All started ok, and my changed fstab mounted the right ones, and the system works.
However, grub is actually using the original /boot on / on sda1. I cannot see any way to change this. (Which makes it sorta hard to update the kernel
From grub:
Okay, since it has two choices, I tried to tell it which one to use. But, grub> root (hd2,5) does nothing.
Disk /dev/sda:
what I seem to recall, grub doesn't care about the boot flag on the disk. Nor does it care about primary vs. logical (except GNU doc says "makeactive" only works on a primary?).
The GNU doc also indicates that it looks for a directory /boot on the partition, so if you're mounting a partition as /boot, it also needs to contain a /boot directory under it. Tried that, but no change.
Is my problem the logical partition? Does that prevent "grub> root" from changing it? I'm afraid to wipe out the old /boot and find that I can't start up.
Right now I only have Windows 7 64bit installed. I'd like to keep it installed and have a hidden Truecrypt system partition that holds Ubuntu. I've installed Ubuntu once before, but it was a while ago so I don't remember the details. Also, I'm not entirely sure how to work Truecrypt as I've never used it before. Do I install Ubuntu first and then run Truecrypt, if so, how do I deal with the fact that installing Ubuntu involves many partitions. Does Truecrypt recognize this automatically or do I have to somehow encrypt them all?
View 1 Replies View RelatedI have windows 7 and fedora 12 installed into my laptop.I just want to access linux ext3 partition in windows 7 as we can access windows ntfs as well as fat partition in linux
View 9 Replies View Related