Ubuntu :: 2 New HD With Ext4 Partition - Wrong Root FS?
Jul 2, 2011I installed 2 new hard disks and created one ext 4 partition on each of them. After rebooting busybox tells me that there is no /sbin/init.
View 7 RepliesI installed 2 new hard disks and created one ext 4 partition on each of them. After rebooting busybox tells me that there is no /sbin/init.
View 7 RepliesI have a usb flash drive and according to sources I found out after the fact that I should have used ext2 instead of ext4 due to the extra write operations.
Is it possible to convert the ext4 root partition to ext2 or do I need to backup, reformat, and restore?
With the release of CentOS 5.5 ext4 is considered stable in this distribution so I decided to migrate to it. Luckily I started from migrating fresh server with CentOS 5.5 using some instruction I found on the internet. I think I shouldn�t say, that I screwed the whole thing up ;) After about 6 hours cursing, kicking, and crying I solved the task and figured the correct sequence of actions. The small problem with migrating root partition is that you can�t unmount it BTW.
During migration task, I found, that CentOS 5.5 rescue mode is somewhat broken a little in terms of ext4 support. It can mount ext4 partitions successfully. But its e2fsprogs package (tune2fs, e2fsck etc.) doesnt see ext4 partitions and say, that superblock is corrupted on a partition once is converted to ext4 (at least it did it for me. May be I should force filesystem type with -t ext4 switch?). Keep in mind, that if you screw your system up too badly, you will not be able to run tune2fs and e2fsck on it from rescue modeBut you will still able to mount it if it is not corrupted badly. In all below examples,Boot your system normally and login as root. Upgrade kernel if you wish (I usually use yum upgrade to upgrade all on new machines). Then upgrade/install some other packages
I'm having some problems with errors reported by fsck on my EXT4 root partition on my Ubuntu 10.10 installation... If I run fsck I get the following output:
Code:
# fsck -n /dev/sda1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
Attenzione! /dev/sda1 montato.
[Code]....
My root partition seems to be full bur is wrong because I have a partition with 15Gb space and the data is arround 7.5Gb I have:
Quote:
~$
PHP Code:
sudo df -lha
S.ficheros Tama�o Usado Disp Uso% Montado en
/dev/sda5 15G 14G 660M 96% /
proc 0 0 0 - /proc
/sys 0 0 0 - /sys
[code]....
When I look for specific info about what is taking the space using du command I get that the space used by the root system is 7.2Gb. I get to the same conclusion when checking the space with Nautilus.
I've a flash drive that it's partitions formatted as fat32, ex4 and encrypted ext4. It works fine on the system that I've formatted it on, but when I try to use it on my other Linux distributions I get these problems:
* ext4 partition accessible by root only.
* after entering my pass-phrase I get
Code: /dev/mapper/udisks-luks-uuid-***** uid1000 is mounted What I'm asking for is a way to create the ext4 file system without being attached to some UID and to be accessible by any user.
Code...
whats wrong with it? 'man mount' says that any can mount partition if it contains option 'user' or 'users' in /etc/fstab ?
I had 5.4 machine. Upgraded to 5.5 today via yum upgrade. All went fine. Rebooted. Wanted to convert root partition to ext4 (I have three partitions: /boot, / and swap). All of them on software RAID 1 (root is /dev/md2). I did the following for converting
yum install e4fsprogs
tune2fs -O extents,uninit_bg,dir_index /dev/md2
nano /etc/fstab # I indicated here that my /dev/md2 is of ext4
[code]....
I'm running a small development server on Ubuntu 10.04 server 64 bit with ext4 as the File system type.
I keep on getting wrong block / inode size when I do an fsck:
Code:
I then force an fsck and the problem is solved, but given a day or two, the problem is back. This can sometime consume up to 10G of my HDD space.
Code:
I'm using ubuntu 10.04 64bit server edition running a small dev server. What's happning though is that my one ext4 filesystems reports the wrong amount of free blocks. This is what fsck reports
Code:
fsck -n /dev/sda1
fsck from util-linux-ng 2.17.2
[code]....
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
I have an external 320gb Hard drive. My plan was to have 250gb for My Documents of mainly music, films and word documents. And 50gb set aside for ubuntu, in a separate partition.To do this I need to partition the 50gb partition as ext4? then add a swap file of how big? Do i even need a swap space if I have 4gb of physical RAM?
View 4 Replies View RelatedI want to convert a vfat partition into an ext4 partition. This is on my wife's machine and she deleted the Windoze partition as she now prefers Linux. Here is the (edited) output from fdisk -l:-
/dev/sda2 514048 4708351 2097152 83 Linux
/dev/sda3 4708352 6805503 1048576 82 Linux swap
/dev/sda4 52693200 234436544 90871672+ f W95 Ext'd (LBA)
/dev/sda5 59006800 234227699 87610446 83 Linux
I want to change /dev/sda4 to 83 to free up space for Linux without losing the partitions in this 'extended' partition!
I was resizing my ext4 partition and I cancelled it while it was at the reading stage think it was only reading it and nothing else, but now it is corrupt.
When I run 'fsck -n /dev/sda5' I get the error:
Code:
I am not sure not to finish this line
UUID=d283b277-5df4-4e83-80b1-6021f2fe8272 /media/Label ext4
it is for storage
I created only two partitions, root and /home. I want to resize root to a bigger value. I tried to play a little with parted without result. How can I do it safely?
View 6 Replies View RelatedI'm on Slackware-current and I've got a /dev/sda1 (the root partition) formatted as ext4. The output of /etc/fstab is:
Code:
/dev/sda2 swap swap defaults 0 0
/dev/sda1 / ext4 defaults 1 1
[Code]....
I was unable to boot into my system after I'd just shut it down, so I tried repairing it using my installation media... only to find that though my root Ext4 fs on sda6 was corrupted & *supposedly* repairable, the cd could not do so for some reason! All I can get is a command line, saying something about the root fs being mounted as read only, and I have no idea how to resolve this. I cannot afford to loose ANY of the data I have on here.
View 2 Replies View RelatedCurrently I have a four partition setup: One ext4 /boot partition for Fedora, one LVM partition, one ext4 partition (which has Ubuntu), and one swap partition. What I would like to do is shrink down the ext4 partition which has Ubuntu on it and increase the size of my LVM parition (and increase the Volume Group, filesystem, etc. within the LVM). However, I've been searching on Google and the only solutions I find is to make the free/unpartitioned space and then create a new LVM partition and stretch the VG over the two LVM partitions. However, I already have 4 partitions, so I can't make the fifth one.
Is there any possible way I can increase the size of the underlying LVM partition itself?
Still a novice in Ubuntu (Karmic Koala). I'm trying to mount an ext4 20GB partition of my hard drive so that i can use it to store data, i want it to appear on my desktop as well as on places, as far as i know this is achieved by mounting the partition in /media. At my first attempt i used the following commands. (i named the partition ondskapt)
Code:
sudo mkdir /ondskapt
sudo gedit /etc/fstab
in this document i added the following at the end:
/dev/sda4 /ondskapt ext4 defauts 0 0
[Code].....
I recently bought a new HDD for my server and I now need to create two differently sized ext4 partitions. I tried GNU parted, but it can't create ext4 partitions so I did some googling but couldn't find any CLI partition managers with ext4 support
Btw, the server is running Ubuntu 9.10 x64 Server.
I have dual boot: Ubuntu 10.04 and Opensuse 11.2.Howto mount read only ext4 partition from opensuse in /etc/fstab?
View 2 Replies View RelatedI'm having a problem with GParted. I'm trying to increase the size of an ext4 partition but the maximum is set to 9970 MiB. The option to increase its size is greyed out. How can I fix this?
View 7 Replies View RelatedI used gparted to format a 360GB partition with ext4 and I expected it to have at most several hundred MB used for whatever reason by the file-system, but it said 18GB were used. How come? Are there any file-system settings I should have paid attention to?
View 6 Replies View RelatedI have recently updated my ubuntu 9.10 install to 10.04. And with that I've tried to install snow leopard on my computer so i can dual boot between them.the install was successful, but grub2 (that worked fine) wouldn't see the OS X install on its own partition. so i tried reinstalling it, like you do after you install windows and it would remove grub as the bootloader.That didn't work and i got a lot of messages that it wouldnt work because my partitioning (or something like that) is GPT. by the end of it i didn't have grub installed at all!so i started playing around with GParted, and while doing that i also put a bios_grub flag on my main ubuntu install partition, thinking that it would force grub to load from that partition. But that just gave me the GRUB Rescue prompt when trying to boot.
So i unchecked the bios_grub flag. and now it doesn't boot to anywhere and when inserting the ubuntu live cd i cant even see the ubuntu ext4 partition and mount it.Gparted says that its a partition that its File System is undetectable and unknown.Is there any solution that will allow me just to mount that partition and copy files from it? (unfortunatelly my backups are a little older than i would like them to be)Heres what boot info script gives me: (the partition that i need is sda1)
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
[code]....
I unknowingly formatted my whole 160GB hard disk to ext4 file system from Fat while installing Ubuntu. Now my hard disk has only one ext4 partition. recover my old data.
View 2 Replies View Relatedcurrently my fstab entry for a partition is this:/dev/sda6 /media/Media ext4 defaults 0 0 But that seems to not give me any permissions on it, i can't create/copy/paste or anything with files onto it
View 1 Replies View RelatedI have two ext4 partitions: one with Ubuntu 10.10 64-bits and the other just for storing files.When I log on to Ubuntu, my second partition is not mounted. Shouldn't Ubuntu mount my second partition by default (since it recognizes it as ext4)?If it should, why is this happening to me?If it shouldn't, how can I get my second partition to be mounted at startup? Should it be by using the same solution provided by prayag_pjs (first reply)[URL]
View 1 Replies View RelatedI was wondering if it's somehow possible to install the Live USB to an ext4 partition, this because I have a 4gb filesize limit on fat32 and that means I cannot make the casper-rw any larger. And next to that I can decently manage permissions on that.
View 9 Replies View RelatedI am dual booting Ubuntu 9.10 with ext4 and OS X with hfs+, and I'm getting tired of having to go through Open Firmware, rEFIt, and GRUB to boot to Ubuntu by default. I've done a lot of digging, and my results appear to be inconclusive. I have, however, been able to hypothesize that the reason that I cannot set my ext4 partition as the Startup Disk (via OS X settings) is because OS X does not know how to read ext4. I believe that the Startup Disk settings work by writing to Open Firmware, so I'm thinking that maybe something else would be able to as well, preferably something that is capable of reading ext4.
View 2 Replies View Related