I am planning on dual-booting Windows XP and Ubuntu on a new laptop, and because I have a program that lets me mount an ext2 filesystem on Windows, I was thinking of installing Ubuntu with ext2 instead of ext3. I am concerned, however, that it might open up a security risk for my Ubuntu partition. Would this cause a problem? (In case it's relevant, I use AVG Free antivirus in Windows.)
I use 8GB USB sticks for backup of Ubuntu 10.04. I have had a variety of problems with ext3 format (security tar file not readable, etc) and have reformatted to ext2, so far without a problem.
But - am I missing something by not using ext3 (or even ext4)? Should I be sticking with ext3 and try to resolve the problems - bearing in mind that as the USB stick is my backup I need it to be secure!
I run an upgrade and an update on a lucid lynx beta 2. --- got no problems. but about the filesystems i have some questions because it seems for me that at every system boot the system will run an fsck. somtimes it's shown up, somtimes not. but in /var/log/messages and in syslog
I have always following messages ( occured in beta 2 too ).
But first before i continue - here my disk layout:
And here my filesystem types:
This is my problem because those values are seems to be static ! ( note: this partiton is mounted but not in use ) and last not least: the drive is an external usb scsi disk. but on the other side lucid lynx is running fine on my box.
I would like to convert my /tmp and /boot partitions from Ext3 to Ext2 on my Arch Linux setup. I don't see any use in having journaling for either partition. I want to make sure that I have the right steps lined up so could someone verify that this is correct (from a live cd):
Code: #sudo tune2fs -O ^has_journal /dev/sda7 #sudo e2fsck /dev/sda7 #sudo tune2fs -O ^has_journal /dev/sda5 #sudo e2fsck /dev/sda5 I then edit /etc/fstab to reflect these changes (ext3 to ext2 for both lines)
Does it matter what order I do it in (/dev/sda7 is /tmp and /dev/sda5 is /boot).
When installing fedora 10 from scratch on an acer aspire one 150L, which filesystem should be used? ext2 or ext3? a basic explanation of the reason would be great too.
I have a new Vertex2 Solid State Drive. When I try to install any distributions, formating the drive in EXT3 or EXT4 (or LUKS with EXT3, or EXT4). My hard drive times out during a copy process. (OpenSUSE 11.2 for example would crash after the 2nd file of X11. Debian got ~12% done when it crashed.)
We are running debian off of an SD card and want to know what's best for /var?
- Plenty of room on 2GB SD card, so do we, make /var as large as possible (everything else is read only) to reduce block overwrites, or do we make /var as small as possible, hopefully reducing the load 'pdflush' places on the 200 Mhz system?
That said, why not ext2? Is there damage that can happen in /var due to insta-crash or power loss that will prevent proper system function? We heard ext4 is more optimized, but ext4 on 2.6.29, not sure.
If we must use a journaled file system for /var, then which is lowest load on system, or "better": jfs, ext3, jffs2 ...
I want to convert my swap space 8GB to usable formatHere is the output of sudo fdisk -l command$sudo fdisk -lDisk /dev/sda: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0x26af26ae
Device Boot Start End Blocks Id System /dev/sda1 * 1 2295 18434556 7 HPFS/NTFS /dev/sda2 2296 9728 59705572+ f W95 Ext'd (LBA)
I have a question, i accidentally formatted an lvm volume as ext2 after creating it. Then of course, we copied a ton of data to it before I realized it was ext2. (I guess ext2 was the default when using mkfs without a -t) Anyway - can I just use tune2fs -j on the LVM just like I would a /dev/sdx device?
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?
I am student of MCS and working on final project. I am the user of windows xp. I am new in Linux. I am working on a project that titles "Hard disk data Recovery of ext2 and ext3 in linux". In windows, including dos.h and bios.h header files in program of c language I can send interrupt to bios and access most of the devices like parallel port, hard disks etc. But problem is that there is no bios.h and dos.h files in gcc. Now how can I access my hard drive using c program. How can I call int13h interrupt in linux or there is any other function in the linux to access the hard disk. In fact I want to access sectors of my hard disk using c language program. How can I do it?
I have ext3 partition mounted on /mnt/shared/ as follows
Code:
Permissions above are of the actual mounted fs.
Goal is to have all files created on the fs 1) to belong to group 'users' 2) to have this groups permissions set to rw (rwx for directories) so that all users who belong to group 'users' have full read/write access to data and everyone else to have only read access.
Now because of setgid bit (s) in group permissions every file created has group 'users' and additionally setgid bit is set for directories. Because every users umask by default (on my system) is set to 0022 all created files will have permissions 644 for ordinary files and 755 for directories.
Net result of above means that users A and B who both belong to group 'users' won't be able to modify files created by the other.
So how can I make files created on the fs to be created always with umask 0002 WITHOUT changing default umask for users that is used elsewhere (like in their home directory) ?
I have dual boot system..i.e, windows XP and ubuntu 9.10(insatlled side by side). when i try to boot ubuntu, Im gettin sh:grub > prompt
[Code]...
I am getting something like this.. root mount file system failed.. ext2 ext3 ext4 ....... kernel panic message and hanged at kenelthreadhelpper+ what can i do.. I cant reinstall ubuntu again.. Because I have installed nany application there..
During the file system check of an ext3 partition at boot I get the following output:
The super-block could not be read or does not describe a correct ext2 filesystem. If the device is still valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate super-block:
I'm then forced to login in as root and given the following prompt:
I'm reluctant to do as advised by the output and run e2fsck -b because it is not an ext2 filesystem.
Although I can still enter runlevel 5, it doesn't seem to recognise mouse and keyboard input in KDE so my system is effectively redundant at the mo. For this reason any short term workarounds are welcome, but a fix is needed. This problem is part of a longer saga to do with recovering a Windows Vista installation which started failing to boot. I have used both Vista and SUSE tools to try and recover my bootloader to no avail, and this has been the result. If more detail about this is needed please ask and I can explain what I have done.
I just rebuild the kernel for slackware 13, everything works, but root file system which is ext3 is mounted as ext2. Normally I've build ext3, ext4 and so on as modules, not in the kernel... but if I do this, then the kernel mounts the file system as ext2, which is build in the kernel. I also modified rc.modules so I can make sure that ext3,ext4,jbd are loaded, but it doesnt work.
I 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.
i TOTALLY ****ed up my windows bootmgr, and, in some way, the linux partition too. I'd like to format the windows partition, but as all my info stays intact I'd like to conserve it that way. The only way I can think of, is to make a new ext2 partition on the same HDD y have windows ( I only have one HDD, so... ) and save the information there . Wich is the correct way to do so, without losing all my software and/or information??
Other details:
* Rright now, i don't have ubuntu installed on my pc ( I'm using a live cd ). * I'm using ( or was ) win 7. * The only partitions on my HDD is an ntfs ( 60 GB ) and an unallocated ( 240 GB )
I have a installation of Ubuntu on a flash drive that I just finished updating, etc. I noticed that it ran surprisingly slow during all my updates and software installations. I looked into it further and found out that for Flash Drive installations, it is recommended to use ext2 due to it's speed and lack of journaling (to limit the amount of writes to the disk).
I REALLY don't want to spend all the time and effort I have just spentt on reinstalling from scratch! I'd like to convert my partition filesystem from ReiserFS to ext2. How can I do this?
Can I backup all the information, do a new installation using the LiveCD, and restore the backup? What program can I use, and which directories do I need to backup?
I wanted to access my Ubuntu partitions on my OS X side.
First things first, I downloaded MacFuse from: [url] Then, I went to [url]
And got their software. From there I mounted the .DMG files and ran the installers. I was able to get all of the software installed and running with no reboot required. Then I loaded the MacFuse control panel, enabled beta, and updated. NOTE: I am unsure if you need the beta for this to work as I did not try without it! Upon the completion of the update, I fired up terminal.
Now, I needed to know exactly which partition my /home/ was located on, so I typed:
Code:
From this, and my basic knowledge of how I setup my Ubuntu partitions, I was able to tell that my 68 GB disk, disk0s4, was my Ubuntu /Home. Then I created a directory in my /Volumes folder to mount the EXT partition to by typing:
Code:
Now that I knew what the disk was and had the all software installed, all I needed to do was mount disk0s4. This is accomplished with:
Code:
Then, I went into the Finder and saw a volume on the left side of the window called "disk0s4". In there are all my files from my home directory of Ubuntu that I can easily access. Great success!
The system that all of this was done on is a Dell Min 10v dual booting between OS X 10.6.6 and Ubuntu 10.10.
Since Mac OS X, runs a BSD Linux at the core I think that this is the correct place to ask about this, but I need cfdisk to make some ext2 and swap partitions on some Compact Flash and old HDs without needing to download any LiveCD. There is any cfdisk that I can use on my Mac?
I would like to know if it is normal to experience 10MB/s data transfer rates during copying between partitions on my local hard drives (Toshiba 250GB 5400rpm SATA) while having three times faster (30MB/s) transfer rates between local partitions and USB drives (Kingston 8GB).
I have recently bought a Toshiba 1TB external USB disk.
I have formatted it using gparted to ext2 and Debian see's it but gives me an error "unable to mount volume" with some extra stuff about programs shouldn't disconnect shared drives.
I can mount it ok by creating a folder called usbdisk and the mount command "mount -t ext2 /dev/sda1 /home/mike/usbdisk" and it works fine, but I have to do this everytime I start the machine.
Does anyone know what exactly I should put into a setup file to make the machine do this everytime , but only if its there.
As I'm not very clued up on bash scripting , I'm assuming it something along these lines:
How would I add this at boot?? Would I add it to the end of "init.d/rc" ?
I had to install a new disk drive in my PC a week ago because the old drive died. The new drive is a 160 gig drive. First I installed Win XP with S/P 3 and everything was fine. Then I installed Ubuntu 8.04 and the troubles began. Ubuntu resized the Windows partition down to 8.81 gig and used the other 137.44 gig for Ubuntu. When I booted into Windows I started getting nasty little messages about "not enough disk space". SOOoooo....... I booted using the Ubuntu install CD and ran "sudo gparted" in a terminal window. I tried to resize the ext2 partition but got an unknown error.
Then I ran fixmbr in Windows to get rid of grub. Then I tried running gparted again to delete the ext2 partition. Got an error that said "can't delete the partition because it's mounted". So I tried to unmount the partition but got a message that the command "unmount" could not be found. After that I installed Partition Magic in Windows and tried that. It sees the ext2 partition but says it's unsupported when I try to delete or resize it.
I ran fdisk but it doesn't see the Linux partitions either, so I can't delete them in that program. I finally tried to format the disk but now I have a 9 gig drive with nothing on it. How do I get those Linux partitions off the drive so I will have a 160 gig drive that I can start over with? I've spent 6 days this week reinstalling XP and all of my programs, and now everything is gone because Ubuntu decided to be a disk hog.
Odd question I know and this is more out of curiosity then out of real usage. Background:
I have a bit of a script that creates a xen image and within I check if the partition that is given contains a filesystem and if this filesystem has inodes in use. (This is all under ext2). After one run of the script which I had to abort there was a filesystem on the partition and my script refused to create a new one. Simple solution was just to create a new filesystem on the very partition and the script went on. I also thought of recreating the partition but this would not be very applicable on a running system with the partition on the same disk like root paritition.
So I'm looking for a way to delete a filesystem or at least set it's used inode number to zero.
I had a 40G vfat drive from WIN98 and I used parted to remove the partition, then create a new partition with an ext2 filetype When in parted, and do print...
Code:
(parted) p Model: ATA QUANTUM FIREBALL (scsi) Disk /dev/sdd: 40.0GB Sector size (logical/physical): 512B/512B
This problem has arrived again.......I tried the same solution but didn't work out...the problem is described below.
I use Ubuntu 9.10 .
I did this in Ubuntu 9.10 live CD.
quote from terminal :-
ubuntu@ubuntu:~$ sudo mkdir /win ubuntu@ubuntu:~$ sudo mount /dev/sda5 /win ubuntu@ubuntu:~$ sudo mkdir /vdisk ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
[Code]....
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: