I am a beginner in ubuntu and only recently did i install Ubuntu 10.10 using Wubi. I am dual booting along with Windows 7 64bit. Before I got to know of Wubi, I created a free 20GB partition for installing linux. But since it was of no use, I decided to extend another partition adding this 20GB space. The problem now is that I am getting the following error while trying to access the partition.
"Error mounting: mount exited with exit code 12: Failed to read last sector (605949951): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...), or a wrong device is tried to be mounted, or the partition table is corrupt (partition is smaller than NTFS), or the NTFS boot sector is corrupt (NTFS size is not valid). Failed to mount '/dev/sda5': Invalid argument The device '/dev/sda5' 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?"
These are the results after running sudo fdisk -l /dev/sda: "Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x76c4009c
Device Boot Start End Blocks Id System /dev/sda1 1 1 992+ 42 SFS Partition 1 does not end on cylinder boundary. /dev/sda2 * 1 13 102400 42 SFS Partition 2 does not end on cylinder boundary. /dev/sda3 13 6528 52326400 42 SFS Partition 3 does not end on cylinder boundary. /dev/sda4 6528 42717 290694144 42 SFS
It then says an automatic fsck failed and a manual fsck must be performed, then the system restarted. I have done a manual fsck and it did nothing. I booted up the system with knoppix and did it, nothing.
I have been trying plop floppy to boot a bootable cdrom from a mobile USB cdrom reader, but the usb cdrom are not recognized.I was thinking that with grub or grub2 or syslinux that would be possible, no ?
I'm developing my own OS, but I'm having some problems with Qemu, because I need to change the floppy image from grub.img to os.img while the emulation is running, but how can I do this?
After I boot from a CD rom in QEMU, trying to reboot within the virtual machine (e.g. doing the "reboot" command at the root shell on Linux running inside), fails. The OS goes through the motions and the virtual machine starts to reboot. But then it cannot get to the CD the 2nd time around. The message I see in QEMU is:
Code:
Starting SeaBIOS (version pre-0.6.1-20100902_143500-palmer) Booting from CD-Rom... Boot failed: Could not read from CDROM (code 0003) No bootable device.
The qemu command I'm running is:
Code:
qemu-system-x86_64 -alt-grab -hda hda.img -cdrom cda.iso -m 1024 -boot d -net nic -net user -redir tcp:19043::22 -monitor stdio
SOLVED: not a QEMU problem at all..installers eject CD media when done and QEMU emulates this action correctly.
Having a problem, have built some VM's and importet some from JumpBox, but they will not boot from the HD. I am using files for the HDs mixture of ".img" and ".vmdk". I can boot and build from the network and CD/ISO, but after the installation completes it reboots attempts to boot from the HD and nothing happends. No error message is displayed.
I need to show a static image with the logo of our department while Debian boots. Is there any easy way or tool to do this? (Any parameter of the kernel maybe?) It doesn't have to be anything fancy (like a progress bar)... just a plain an simple image.
I've seen many bootsplash projects..but most of them are broken. I tried splashy (which is available on the repo), but by the time it loads, my system is already booted, so I don't really like it. note that I don't have any Xorg server installed.
I'm having a problem updating the cdrom. the error i get is Failed to fetch cdrom://Ubuntu-Netbook 10.04 _Lucid Lynx_ - Release i386 (20100429.4)/dists/lucid/main/binary-i386/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs. I tried using apt-cdrom, it tells me the commands and options, which i wrote down for reference, but still that has an error which is, E: Unable to stat the mount point /media/apt/ - stat (2: No such file or directory) W: Failed to mount '/dev/sr0' to '/media/apt/' E: Unable to change to /media/apt/ - chdir (2: No such file or directory) Is there another code to recognize the cdrom? because the help of the command and options list didn't give a code for recognizing the cdrom. Im using ubuntu 10.4lts on my netbook and yes i do have a external rom
I tried to compile a 2.6.33 kernel following Alien's guide.
I pretty much used the default values for every (NEW) option avaiable. I used "make localmodconfig" on my current config (zcat /proc/config.gz) and then tried to use "make menuconfig" to check if I could change anything. I didn't understand most of the options, so I skipped it. Then I used "make bzImage modules" and "make modules_install", copied the files mentioned on the wiki and run lilo.
But when I try to boot using my custom kernel, it gives an error like "Cannot remount read-only filesystem as read-write! This can cause serious problems."
If I try to continue the boot, it hangs when trying to launch the syslog script...
The new kernel entry on lilo.conf is:
Code: image = /boot/vmlinuz-custom-2.6.33 root = /dev/sda4 label = newkernel read-only just like the default kernel entry.
By the way, one thing I changed is the kernel compression format, which I set LZMA. But it didn't seem to be the problem, since it at least started...
I've been trying out qemu to play around with some VMs. It's working well but I keep wanting to be able to view the text (linux boot process) that quickly scrolls by in the qemu window on startup of my linux virtual machine. Is there any way to retrieve this via qemu?
I can NOT mount my CDROM. I see several under the /dev folder cdrom, cdrw, dvd, scd0, src, how do I kow which drive to mount? I would like to load KDE fom a slackware disk,
I'm getting BSOD when I'm booting my main system (debian 8 fully updated). I get a BSOD with a _ sign. URL...because I can't access to failed boots files. Besides having the files
Code: Select allfelipe@debian ~ % ls /var/log/journal 362d07f9e18b45f8aec4575c347f181d 92e8a448f7a348719da129184a7e6821
Code: Select allfelipe@debian ~ % journalctl --list-boots 0 0c51ae5b67f144059c5470dbe345d621 vie 2016-03-25 09:05:29 ART—vie 2016-03-25 09:11:58 ART
When I try this yum install kvm qemu libvirt python-virtinst qemu-kvm I become this error
Transaction Check Error: file /usr/share/man/man1/qemu-img.1.gz from install of qemu-img-0.10.5-1.el5.2.x86_64 conflicts with file from package kvm-qemu-img-83-164.el5_5.25.x86_64
I am running Karmic x64 on a HP laptop that has a cd/dvd burner. I have a r/w cd with files on it and I wish to add/remove files to it. After it mounts automatically on insertion, I unmount it and remount with: sudo mount /dev/sr0 -t iso9660 -w /media/cdrom (I tried assorted other hare-brained things also) but it always says that the filesystem is read only. Do I need to use a different device than sr0? Is it even possible under Ubuntu?
I downloaded the Ubuntu Server 10.04 64bit ISO and the universal USB installer, created a USB install disk and booted from it. I started the installation and right after keyboard setup I got an error saying Unable to read from CD-ROM, retry/abort. Looking at the alt-f4 log it was unable to find a file, fs-secondary.udeb I hit alt-f2 and cd'd to /cdrom/pool/main/l/linux (I think, this is all from memory) and found that file, almost. The file there was fs-secondaryblahblahblah.ude, no b on the end. I tried renaming it but the filesystem was mounted read-only.
So, cd back to / Type mount and hit enter. Take note of the cdrom entry, at the beginning of that line it will say /dev/? Mine was like /dev/svd0 or something like that. Remember whatever that is. Then type umount /cdrom Then type mount -t vfat /dev/????? (whatever your device was from earlier) /cdrom That will mount the cdrom rw so you can rename the file to .udeb Then press alt-F1 and press enter to retry and the installation will continue like normal.
I'm trying to get back into Linux after a few years off.
I have tried booting from a Live CD using Flash Linux and Damn Small Linux.
Flash Linux reports unable to mount CDROM and then provides a command line - I assume I have the kernel, a shell and little else at this point? Can I mount the CD and continue?
DSL seems to do something similar but freezes with a blank screen. I have the option of entering parameters prior to booting with DSL (but not with Flash) I have tried the parameter which copies the CD to RAM and then boots without success.
I plan on installing Debian to my HD in the near future but felt like playing around with Live CDs prior to this in order to get reacquainted.
I have googled this issue and it seems there are other noobs out there with the same model of PC (HP DV6) who are having similar problems but I could not find a solution.
As an aside - this is the kind of issue that IMO, still prevents Linux from becoming a mainstream OS.
I'm trying to install Lucid on a computer with windows already present. When I ran trough the install procedure no drives show up at the partitioning stage. So I check some things out and it turns out that /dev/sda1 is mounted to /cdrom and I can't umount it because it says the disk is in use. I'm booting with the live-cd downloaded from ubuntu. Why is this happening? Previously with older live-cd's I always have to mount the HD manually if I wanted to access it for any reason?
I have a netbook with a 150GB hard drive in it. A while ago I dropped my netbook and it wouldn't boot. Had a "failed command: READ FPDMA QUEUED" error at startup. So naturally I went and reinstalled. Reinstalling worked fine and I had my computer back. What I didn't account for was the fact that anytime it lost power and didn't shut down properly, I'd get the same error. I can't seem to recover my data either. Can't get any live disks to mount the hard drive after this error but for some reason I can still reinstall Crunchbang (essentially debian). Now I know there are bad sectors or something because when I try to use the disk that came with the netbook with an image of Windows XP that writes to the entire hard drive it throws an error but linux will avoid this I suppose when installing.
Now all of this is to say, being a laptop, several times I have left it on overnight when I fall asleep working or have to run into to town and it'll die and then I lose all my data, rather irritating. What's causing this error? What can I do to prevent it besides getting a new hard drive? If I can't prevent it from happening in the future is there a way to recover the data off the hard drive? Here's the section of the boot log that contains the error: [url]
When I start my system on the Ubuntu 10.10 CDROM I get a tiny icon at the bottom, then the screen shuts off due to no signal. So I cannot run the Live CDROM. Relevant here is that Debian CDROM runs just fine. (Lenny installs and runs good, but squeeze does not) Linux Mint (based on Ubuntu) gets me a pretty graphical welcome screen, then the monitor shuts off just like Ubuntu and Kubuntu.WinXP installed and runs without a hitch.
My system: Gigabyte GA-P43-ES3G with 4Gb ram, 750 Gb SATA HDD, Nvidia Quadro video card.I have gone through the BIOS settings looking for clues:SATA AHCI mode is set to IDE (versus AHCI)SATA port 0-3 native mode set to enabled (versus disabled which would be legacy IDE mode)Azalia codec set to auto (verus disabled)
I am trying to add my natty Live Cd as a repository, by issuing apt-cdrom add, but even autodetecting the mount point fails. Code: apt-cdrom --auto-detect add How do I determine the mount point for the cdrom in order to tell apt-cdrom where to look?
Output: Code: Using CD-ROM mount point /media/apt/ Identifying.. E: Unable to stat the mount point /media/Ubuntu-4011.04-40amd64/ - stat (2: No such file or directory) E: Unable to stat the mount point /media/apt/ - stat (2: No such file or directory) W: Failed to mount '/dev/sr0' to '/media/apt/' E: Unable to change to /media/apt/ - chdir (2: No such file or directory) E: Unable to stat the mount point /media/Ubuntu-4011.04-40amd64/ - stat (2: No such file or directory)
I tried to install skype: apt-get install skype but I got the following error: Failed to fetch cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official i386 DVD Binary-1 20110322-15:11]/pool/main/q/qt4-x11/libqtgui4_4.6.3-4_i386.deb Hash Sum mismatch
net ads join -U admin_name admin passwordgives the following error: Failed to join domain: failed to lookup DC info for domain 'domain_name' over rpc: Logon failureIn the log, is the error messagewinbindd/winbindd_ads.c:ads_cached_connection(127) ads_connect for domain SPCRANE failed: Cannot read passwordkinit admin@domain_name works correctly, so kerberos is working. The ticket is generated, and I can see it with klist. the smb.conf file has the matching realm. It is configured identically like a redhat 5 box that does work
I have just installed Fedora 12 on a 10GB partition separate from the pre-existing Windows XP partition. My problem is that when I turn on my aspire one ao751h it doesn't give me the option to boot Windows XP even though when I mount the partition with XP on it the files are all still there. I think it has something to do with GRUB which I have never dealt with before or the way I set up the partitions when installing Fedora 12. How would I change the start-up screen to allow me to boot from my XP partition as well?
The Karmic installers for ARM CPUs are .img files that are meant to be written directly to Flash media, rather than .iso files that are meant to be burned to CD.
I'd like to run the ARM port of Karmic under the QEMU hardware emulator. This should be possible, because the .img files are sector-for-sector images of a hard disk drive. But when I try, I get a panic because the kernel can't mount the root filesystem.
I think the problem is that hard drives are provided by QEMU by emulating an IDE controller, whereas the ARM .image files are meant to be run from a USB stick. Those are accessed via SCSI rather than IDE.
Perhaps my problem is that the kernel I'm using with QEMU doesn't contain an IDE controller. It appears that QEMU doesn't provide a SCSI emulation, just IDE. An alternative would be to convert the .img installer file to a bootable CD-ROM image. Is there a way I can do that? Here is my command line:
Code: $ qemu-system-arm -M versatilepb -kernel ~/Documents/Kernels/ARM/vmlinuz-2.6.28-versatile -hda ubuntu-9.10-desktop-armel+dove.img -m 256M -append "root=/dev/sda1 rw" It doesn't work to say "root=/dev/hda1 rw" - it still can't find the root filesystem.
This is a problem that has been stabbing at me for years now. I have a nice pro-m soundcard - the EMU 0404 - with the cursed "1102:0004" device ID. I am wondering if anyone has gotten the early version of the 0404 (0004 / firmware 1.0 version) of the card working with Linux? All the information I can find is a couple years out of date. Maybe everyone just gave up when the later versions of the cards started to work with ALSA, but I really can't afford to replace this thing.
Regardless, if anyone has gotten this to work please let me know. If I really just need to resign myself to throwing the card away / taking a $150 loss on a new one, I'd also like to know,