General :: Migrated From Ext3-disk To A Ext4 Disk - Warning: Unable To Open An Initial Console
Feb 4, 2010
OS: Debian unstable 32bit, kernel 2.6.32-2, grub 1.98 from late january 2010 (only have working net-access from work now, so I am grabbing information from memory). EXT3 and EXT4 support is compiled into the kernel along with chipset/scsi/sata support (not as modules), and I have tested to boot ext3 with it before proceeding. Prereq: my old disk started to have too much S.M.A.R.T errors, so I bought another one, put in a USB cabinet, added swap and ext4 partition/filesystem to it, and copied over all data from the old system to the new that was mounted at /dest using the command "find ./ -xdev -print0 | cpio -paV0 /dest". Swiched disks, so I now have the ext4 disk sitting at /dev/sda (partitions: sda1 => ext4, sda2 => swap), and booted into rescue-mode from cdrom, using /dev/sda1 as root with a shell on. After doing this, I performed the following commands:
mount --bind /dev /dest/dev
chroot /dest
modified the /etc/default/grub to instruct the kernel to boot using ext4, ran grub-install --recheck /dev/sda
ran update-grub to modify /boot/grub/grub.cfg (which looks as it should) After doing this, grub finds my partition and mounts it. It however stalls with the message: "warning: unable to open an initial console" and does nothing after this point. I have no ramdisk, but my old kernel booted fine from ext3 (and still does if I copy it to a ext3 partition), and since the ext4 support is compiled into the kernel - should I really need a ramdisk?
View 4 Replies
ADVERTISEMENT
May 7, 2011
I used mkinitrd to build an initrd from the slackware 2.6.37.6 sources. Lilo throws the following: "Warning: The initial RAM disk is too big to fit between the kernel a the 15M-16M memory hole. It will be loaded in the highest memory as though the configuration file specified "large-memory" and it will be assumed that the BIOS supports memory moves above 16M."
Also, I am running swap, / and home on an encrypted volume group. When the initrd boots (but prior to mounting the encrypted vg) I get a message saying that no modules are found-sounds like a daft question but is this expected? I expect that this is because initrd is looking for modules, but can't find them because the relevant partition isn't mounted.
View 2 Replies
View Related
Feb 9, 2010
I have been having problems with filesystem corruption on my eeepc 1000H for a long time now. I have tried using different filesystems, kernels and distributions (arch, slackware) to no effect. I am starting to grow suspicious that this problem lies somewhere else, as I haven't seen anyone else having similar problems in such a variety of scenarios.
I have tried testing my ram using memtest86+, didn't come up with anything after a full run through. I also have tried using e2fsck -c to check for bad blocks, it finds none. I had a go at using smartctl but wasn't really sure what I was doing. I did a long test and it came up with nothing anyway.
This problem is in addition to the problems I've been having with my intel graphics chip and KMS. A lot of the time there are lockups when booting into X, which can only be gotten out of by a hard reset. This is sometimes what causes the original filesystem errors. I've stopped messing around with KMS for now to eliminate this but my current system in unbootable. I'm guessing my disk is wrecked but have as yet seen no definitive proof. Can anyone recommend anything that I should do?
I am currently on ext4 with a custom kernel 2.6.33-rc6 (the stock kernel shipping with slackware does not have the elantech extension for psmouse included). When I was using arch, I was just using the stock kernels.
View 9 Replies
View Related
Oct 10, 2010
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.
View 1 Replies
View Related
Jun 14, 2010
I have a NAS from WD that runs some stripped down flavor of linux. The NAS has one USB port at the back which can be used to expand the storage. If I plug in an external disk formated in either NTFS or HFS+ then the system automatically mounts the disk and shares it over samba. If I plug in a disk that is formated in ext3, the disk is recognized but that's about it. It doesn't mount or get shared or anything. I have tried asking WD about this and I have tried asking google. But after two days of searching I am turning here for some more expert advice.
Here is what I've managed to figure out so far.
If I check dmesg before and after plugging in the ext3 usb disk I have found out that these lines are added to the log:
Code:
I have tried googleing those last two lines but I haven't found any info that I can make any sense of.
If I run the command "mount -a" I get the following messages from the shell: "mount: Cannot read /etc/fstab: No such file or directory"
Hover I am able to mount the ext3 disk manually. First I get this info from fdisk
Code:
And then I run these two commands:
Code:
This makes the usb disk visible in the shell, but since this is a NAS, it is kinda useless as long as it doesn't show up in samba.
Since I'm pretty new to linux I don't know what to try next so I'm hoping for some advice as to what I can do to make the ext3 usb disk automount.
View 6 Replies
View Related
Feb 17, 2016
I received the following error when I got home from work today. If this was a windows environment, my first inclination would be to boot off my dvd and then run a chkdsk on the drive to flag any bad sectors that might exist. But there's a complication for me.
Code: Select allThis message was generated by the smartd daemon running on:
  host name: LinuxDesktop
  DNS domain: [Empty]
The following warning/error was logged by the smartd daemon:
Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors
Device info:
WDC WD5000AAKS-65V0A0, S/N:WD-WCAWF2422464, WWN:5-0014ee-157c5db9a, FW:05.01D05, 500 GB
For details see host's SYSLOG.
You can also use the smartctl utility for further investigation.The original message about this issue was sent at Sun Feb 14 13:43:17 2016 MST.Another message will be sent in 24 hours if the problem persists.
From gnome-disks
Code: Select allDisk is OK, 418 bad sectors (28° C / 82° F)
I did a bit of reading and it seems that most people suggest using badblocks to first get a list of badblocks from the drive and save it to a file. Then use e2fsck to then mark the blocks listed in the badblocks file as bad on the hard drive. My problem here is that this drive is part of a RAID5 array that hosts my OS. I wanted to confirm if this was still the correct process.I boot to my Live Debian disk, stop the raid array if it's active. Then run badblocks + e2fsck commands on the drive in question and then reboot.
View 1 Replies
View Related
Jan 31, 2011
I have installed ubuntu to my pc. i made 3 partitions. one for system, one for data and one for swap. two of them were ext4. after some time i have reinstalled ubuntu again. but this time i didn't put to format the second partition, but just mount it using ext4. after that i cannot open my files. checked with gparted shows that 2GB used, but with df 188MB. and in properties writes ext3/ext4 filesystem. i used chown, chgrp but didn't help. please help, these data are ver important. i cannot lose them.
View 7 Replies
View Related
Aug 19, 2011
I tried to install ubuntu 11.04 on my external hard drive (WD My Passport, thats all i remember about the name) and all was well, until I tried to reformat it from ext4 to FAT, and no such luck, it isn't even being READ, not in fdisk -l, not by gparted, disk manager, or anything else. Windows is no help at all... I tried that out of desparation.
View 9 Replies
View Related
Nov 8, 2009
I m facing a problem while try to upgrade the initial ram disk.
I got the following error:
View 2 Replies
View Related
Sep 27, 2010
Just installed opensuse 11.3 Kdeversion on my laptop. Before installing it on live mode i had a problem of accessing my other drives (NTFS, FAT32 and EXT4) which said HAL system policy...etc mounting error. I could access all drives with root privilege. I thought problem will be solver once i install opensuse on my system. How ever i was really disappointed after seeing the same problem post install. Googled around for the solution and got this link
[Code]...
After this the problem got worse now i am not able to see any of the drives in the side panel. Gone through many forum and posts all discuss about external USB HDD.
View 9 Replies
View Related
May 22, 2010
Information on the net seems very sparse or outdated for how to go about booting to a RAM disk. I need to be be able to boot a PC without a hard drive in it. I want to be able to PXE boot a PC and supply it with a RAM disk image that also contains the contents of the root file system (obviously stripped down enough to keep the file size small and the boot up time fast).What I have gathered so far is that I need to extract the contents of the initrd.img file, add files as necessary, and repackage the initrd.img file. What I get confused on is how to configure the kernel line parameters to tell it to boot to RAM and not the hard drive and how to go about modifying the init script in the initrd.img to not switch to the hard drive for the root file system. I can't find anything on the net that describes concrete steps on how to go about accomplishing all of this. I'm aware of the existence of Live CD's, but I need to be able to boot the PC without relying on a hard drive, CD, or any other external media. It needs to get all of its contents from the PXE boot server and boot to RAM only. I have the PXE boot side configured successfully. Also, putting the root file system on a NFS share is also out of the question.
View 8 Replies
View Related
Sep 23, 2010
I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000
View 2 Replies
View Related
Jan 6, 2011
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.
View 4 Replies
View Related
Jul 11, 2010
I've just bought a new SSD hard drive:Kingston SSDNow V-Series SNV125-S2/128GB 2.5'' 128GB SATA/300The question is which filesystem whould you recommand and why?BTRFS vs NILFS2 or EXT4?If you choose ext4 would you enable jurnalling?I'm very close to choose Btrfs.Any experience with running any of these on your SSD?
View 7 Replies
View Related
Jul 7, 2011
I 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.
View 1 Replies
View Related
May 4, 2010
Why do i have trouble opening my dvd drive When there is no disk in it is there a setting i have wrong or is it my dvd is packing up it plays well and copies every thing i put at it, opens when i have disk in it but not when no disk in.
View 9 Replies
View Related
Mar 24, 2011
I have suddenly lost a lot of free on my new Fedora 14 install.
To keep the story short, here's what disk usage looks like on my home: image
As you can see, home takes 100% but only 34% are actually occupied.
When entered as a root du | sort -nr > out.txt
Code:
81126756.
28141892./VirtualBox VMs
21462488./VirtualBox VMs/Win7
5244308./VirtualBox VMs/WinXP
[Code].....
View 8 Replies
View Related
Feb 11, 2010
I am fresh to Ubuntu and am having trouble getting it to boot on my system. I normally run XP, but recently added a second internal hard drive and installed Ubuntu on it. The installation went fine and upon initial reboot I received -
GRUB loading. error: no such disk grub rescue>
I am wondering if there is an issue between two different operating systems upon boot. I am not familiar with GRUB commands.
View 4 Replies
View Related
May 15, 2011
I have $ uname -a
Linux kub 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux
Most of the time when I boot my PC I get an error about fsck.ext4: Unable to resolve... I don't know why it's happening.
The problem is happening with my external drive that has 3 partitions:
/dev/sdc1
/dev/sdc3
/dev/sdc2
About 90% of the time I boot I do get the error. Sometimes after getting the error I can login and the external drive (/dev/sdc) is already mounted:
$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 15G 8.0G 5.8G 58% /
tmpfs 1.9G 0 1.9G 0% /lib/init/rw
udev 1.9G 246k 1.9G 1% /dev
tmpfs 1.9G 738k 1.9G 1% /dev/shm
code....
The UUID's in the error file match the output of the command blkid. And the UID's of blkid match the fstab UUID's. I don't know what to do at this point.
View 2 Replies
View Related
May 13, 2010
I want to format an USB disk with ext3. If I do this with gparted, it will be formatted, but I cannot write to it. Reading is no problen, at least it shows the lost+found folder. I guess its a problem with access rights. It would be sufficient if user "papa" would have access on one ubuntu karmic machine. But I cannot solve this graphically. The purpose of the operation is to be able to copy my /home directory onto the USB disk as a backup, before I upgrade to the current version of Ubuntu. FAT32 is no option as some files are too long.
View 9 Replies
View Related
Feb 13, 2011
Dell laptop booting from a USB stick with a CentOS 5.5 minimum installation.
Uncompressing Linux...OK, booting the kernel.
Red Hat nash version 4.2.1.13 starting
sda: assuming drive cache: write through
sda: assuming drive cache: write through
mount: error 6 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd-dev failed: 2
Kernel panic - no syncing: Attempted to kill init!
1. Does minimum installation not drop on a kernel or initrd with ext3 support? I can't imagine that's true, but have to ask.
2. The USB stick is single partition ext3. Maybe there is some limitation specifically related to USB stick booting that requires boot to be FAT16 or FAT32? Except the CentOS 5.5 installer refuses to let me install on either FAT.
3. How can I do the equivalent of lsmod on a linux installation that will not boot? i.e. I have CentOS x86_64 running in VirtualBox, I can plug the USB stick in there, so how do I get information on the USB stick's kernel and initrd if I can't boot from it?
4. Is it possible to rebuild the i386 based initrd on this USB stick, when the computer is not booted from that stick, with a system that's x86_64 based?
System Info:
Dell Latitude i686 Laptop which has run CentOS 5.5 and Fedora 12,13,14 in the past, and boots from Fedora 14 Live CD transferred to a USB stick. So I know USB booting is possible on this machine, and this stick.
The process of creating the stick:
CentOS 5.5 i386 on a USB stick. Old Dell i686 laptop which has previously run CentOS 5.5 installed from DVD, and has successfully booted from this same USB stick holding transferred Fedora 12,13,14 Live CDs. CentOS 5.5 was installed onto the USB drive directly by the CentOS 5.5 DVD installer (running virtualized in VirtualBox 4.02 on Mac OS X 10.6.5.). No errors or complaints during installation.
For whatever reason, the installer did not do some things correctly. First Grub wasn't working correctly, I got that sorted out and have the Grub+CentOS splash screen, it finds vmlinuz and the initrd, and then I get a kernel panic.
Ext3 was built into the kernel and that's why I'm getting this message. I do not know how the installer would have dropped a kernel or initrd during instalation that that don't contain such a basic thing that obviously comes in linux kernel 2.6.18-89 EL.
View 3 Replies
View Related
May 19, 2010
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]....
View 4 Replies
View Related
Apr 7, 2010
I'm fairly new to Ubuntu and I'm running Karmic Koala. I just reformatted an NTFS partition to Ext3, as I no longer need to access is from my windows installation. Now I'm unable to mount it though, and I get the message: Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sda6 on /media/DATA2 (DATA2 being the name of the previous NTFS partition. Now the label is linuxdata)
When I try to mount it using sudo in terminal I get the following message if I use the label DATA2:
NTFS signature is missing.
Failed to mount '/dev/sda6': Ogiltigt argument
The device '/dev/sda6' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
And if I use the label linuxdata: mount: can't find /media/linuxdata in /etc/fstab or /etc/mtab I've tried to search for help, but been unable to find an explanation.
View 9 Replies
View Related
Feb 1, 2011
I have second disk connected internally, and for matted to ext4, though it shows up, I cannot past to it or copy from it, it is full mounted!
View 4 Replies
View Related
Feb 2, 2011
I formatted a 500GB with ext4 format, and placed in a usb box, it showed up, but could not write, copy past etc to it, the same disk was formatted in NTFS, and FAT32 showed up and could do all the above actions, given that ext4/ext4/ext2 are specifically made for Linux, then why on earth they don't get mounted automatically and work normally from usb box and ports?
View 9 Replies
View Related
Jul 1, 2010
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?
View 2 Replies
View Related
Jul 25, 2011
I have made two partitions / and /home . / is where all the packages and other stuff lives and /home is where user i.e. my data lives. I am sure everybody knows the 'disk space is less' warning dialog box when either we install too many packages or when we download many things. Now the last time it happened by mistake I clicked on do not show more warnings. Now I want to have that warning dialog box back. looked at System > Preferences submenu as well as System > Administration but have not been able to find any info. on the same.
View 5 Replies
View Related
May 21, 2010
I'm trying to free up some space on the 4GB partition of my netbook since I've been receiving these warnings that I have NNN_MB left as free space. So what I did was to remove programs (via Ubuntu Software Center) that I thought wasn't that a priority for me.
But, there seems to be no change! Am I doing something wrong? The warnings keep coming.
Now that I'm thinking of upgrading to Lucid Lynx, I'm not too sure if I can.
View 4 Replies
View Related
Sep 2, 2010
I'm a little puzzled as to why I'm getting a warning about running out of disk space. It seems others have similar issues but with little resolvI received a warning about how I have little disk space remaining. I got the message when writing files to my /home directory.The output of df -h is:
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.4G 5.9G 1.1G 85% /
[code]....
View 2 Replies
View Related
Mar 14, 2010
Last week, i updated, my fedora. After that, during every boot up, I am getting a warning message like " Your hard disk may failing". It indicates that it is due to bad sectors. But I don't think so. There was a bug reported for a similar problem in fedora 11. I think it is not fixed yet. Hard disk is not having any problem during data access. Other OS including windows are not giving any warning message.
View 9 Replies
View Related