Ubuntu :: How To Use Bug Fixing Information
Oct 27, 2010I recently come across some bug reporting things. I know what is bug but don't know how to use bug information that i got . can anybody explain it for me .
View 3 RepliesI recently come across some bug reporting things. I know what is bug but don't know how to use bug information that i got . can anybody explain it for me .
View 3 RepliesI'm trying to write a program which would get information from a webpage and display the information on my desktop sort of like a widget. I kind of remember there being something like this already made, but for the life of me I can't remember what it's calledDoes anyone know?
View 1 Replies View RelatedHow would you make NIS user information override local user information on client systems? This is what I think is right? Add nis on the passwd registration file on the second line Is this correct?
View 1 Replies View Relatedhaving problems loading any OS because of bad sectors. will only load off live cd 9.10
View 1 Replies View Relatedwithout thinking, reinstalled my windows installation after already having the dual-boot set up and it wrote over the GRUB with Windows MBR. I let my girlfriend's friend borrow the disc before this and decided to just wait it out. Then, when getting the disc back, I carelessly forgot it at their house and have never been able to retrieve it, nor do I think that I ever will.
At this point my only live discs either only have GRUB1 or are corrupted. My only tools now are a netbook with a wubi installation of Xubuntu(no CD drive) and a 1GB flash drive, it seems. Any suggestions on how to access my ubuntu installation?
Ahm my question is, how can i adjust or redo the size of my hard disk in ubuntu? i mean i have the windowsXP OS then decided to install ubuntu 10.04 so i install it inside windows... i forgot to adjust the size or something?? because every time i boot ubuntu my free storage was 5 gb... but the real size of my HDD is 112gb in HOST directory but when im looking in home directory/home folder its shows that 5gb remaining, so what am i going to do? And what is my mistake?
View 2 Replies View RelatedI had installed 10.10 on another partition, and then I wiped it, so I need to reinstall grub on my 9.10 partition. I have tried a few methods, including one that had worked for me in the past.But every time I boot my computer, it just says "GRUB loading.", and hangs. How should I fix this?
View 7 Replies View RelatedI am having problems with either my boot list (/boot/grub/grub.cfg) or my Master Boot Record. It is possible that something else in this area is causing the problem, however.
Configuration overview:
Machine:Sony Vaio VGN-NS140E laptop
Systems: Dual-booting Vista and Ubuntu
Partitions:Vista Recovery (NTFS)
Vista OS
[code]....
Below is some information on how I believe I created this problem and an overview of steps I took while trying to fix the problem. Several days ago, I ran GParted off of an Ubuntu Natty Narwhal (11.04) LiveUSB to remove an older, broken linux partition containing either the Maverick Meerkat (10.10) or the Lucid Lynx (10.04) release.
That partition had been my original linux partition for this machine. For reference, the partition originally had Intrepid Ibex (8.10) installed. I was unable to load it properly after downgrading from Maverick Meerkat to Lucid Lynx. Maverick had some glaring functionality issues with my laptop model.I needed to remove the partition in a Live session because it was located within an extended partition alongside my currently used Ubuntu partition.
After deleting this partition and rebooting the laptop, it was either the Grub Loader menu or a grub-rescue prompt that appeared. I'm pretty sure that it was the grub-rescue prompt at this point. Unable to move forward from this prompt, I turned off the computer and re-inserted my USB drive to boot into a Live session again. Booting into a Live session worked successfully.
At this point I was able to browse the web for possible solutions. I read somewhere that I should run sudo update-grub from the terminal. After doing this and rebooting the computer, I was taken to the Grub Loader menu. Unfortunately, all of the entries I tried to boot from brought me to the grub-rescue prompt. There were 3 error lines above the prompt, but I don't remember all of them at the moment. I know that one of them did say "Error: You need to load the kernel first."
At the time, I was hoping this could be a fairly easy fix. I had the idea to simply create a new Ubuntu partition where the old one had been. I installed Natty Narwhal to a new partition within my extended partition. When I restarted my computer after the install had been completed, I did not have the results I'd expected or hoped for. The grub-rescue prompt still came up when I attempted to boot into any of the entries listed in the Grub Loader. Also, the new install I had created was not available in the list.
I tried to get information from various commands in either the grub or grub-rescue prompt. Somehow, I was able to determine the kernel name I needed and edited the boot command (the screen accessed when you press 'e' on the Grub Loader) to include it. This was no help at the time. I again restarted the computer and booted into a Live session. I re-installed Natty Narwhal on top of the install I just created, thinking that there may have been a problem with it. After restarting the computer, I was still having the same problems as with the first installation attempt. I ran another Live session.
By looking at other user's Boot Info Script RESULTS.txt files on this forum and following some links, I was able to gain a better understanding of the Grub boot command. With this information and some more experimentation in the grub-rescue prompt, I was able to determine the UUID of my Natty Narwhal partition, edit the boot command mentioned two paragraphs ago, and boot into Ubuntu with only one error. In this new Ubuntu installation, I ran sudo update-grub in the terminal. The command returned entries that matched with those I saw in GParted, but I still had the same problems and incorrect entries when I restarted the computer.
While it is possible that I could determine all of the necessary start-up boot commands to manually enter each of my bootable partitions, this is really rather inconvenient. I want to know how I can permanently fix the Grub or other necessary files so that my bootloader can take back responsibility for this task. It would also be nice to get back into my Lucid Lynx partition because Natty is a bit buggier than I'm okay with. Fixing my problems with Natty is a topic for another post, however.
Code:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub on this drive.
[code]....
I am having problems with either my boot list (/boot/grub/grub.cfg) or my Master Boot Record. It is possible that something else in this area is causing the problem, however.
Computer overview:Make/Model/Type: Sony Vaio/VGN-NS140E/laptop
Operating Systems: Dual-booting Vista and Ubuntu
Partitions: Vista Recovery
Vista OS
Data Files (for sharing between Vista and Ubuntu partitions)
Extended partition containing:Ubuntu 10.04.2 LTS
Ubuntu 11.04
Swap
Note: Vista is 32-bit and Ubuntu is 64-bit
Below is some information on how I believe I created this problem and an overview of steps I took while trying to fix the problem.
Several days ago, I ran GParted off of an Ubuntu Natty Narwhal (11.04) LiveUSB to remove an older, broken linux partition containing either the Maverick Meerkat (10.10) or the Lucid Lynx (10.04) release. That partition had been my original linux partition for this machine. For reference, the partition originally had Intrepid Ibex (8.10) installed. I was unable to load it properly after downgrading from Maverick Meerkat to Lucid Lynx. Maverick had some glaring functionality issues with my laptop model.
I needed to remove the partition in a Live session because it was located within an extended partition alongside my currently used Ubuntu partition.
After deleting this partition and rebooting the laptop, it was either the Grub Loader menu or a grub-rescue prompt that appeared. I'm pretty sure that it was the grub-rescue prompt at this point. Unable to move forward from this prompt, I turned off the computer and re-inserted my USB drive to boot into a Live session again. Booting into a Live session worked successfully.
At this point I was able to browse the web for possible solutions. I read somewhere that I should run sudo update-grub from the terminal. After doing this and rebooting the computer, I was taken to the Grub Loader menu. Unfortunately, all of the entries I tried to boot from brought me to the grub-rescue prompt. There were 3 error lines above the prompt, but I don't remember all of them at the moment. I know that one of them did say "Error: You need to load the kernel first."
At the time, I was hoping this could be a fairly easy fix. I had the idea to simply create a new Ubuntu partition where the old one had been. I installed Natty Narwhal to a new partition within my extended partition. When I restarted my computer after the install had been completed, I did not have the results I'd expected or hoped for. The grub-rescue prompt still came up when I attempted to boot into any of the entries listed in the Grub Loader. Also, the new install I had created was not available in the list.
I tried to get information from various commands in either the grub or grub-rescue prompt. Somehow, I was able to determine the kernel name I needed and edited the boot command (the screen accessed when you press 'e' on the Grub Loader) to include it. This was no help at the time.
I again restarted the computer and booted into a Live session. I re-installed Natty Narwhal on top of the install I just created, thinking that there may have been a problem with it. After restarting the computer, I was still having the same problems as with the first installation attempt. I ran another Live session.
By looking at other user's Boot Info Script RESULTS.txt files on this forum and following some links, I was able to gain a better understanding of the Grub boot command. With this information and some more experimentation in the grub-rescue prompt, I was able to determine the UUID of my Natty Narwhal partition, edit the boot command mentioned two paragraphs ago, and boot into Ubuntu with only one error.
In this new Ubuntu installation, I ran sudo update-grub in the terminal. The command returned entries that matched with those I saw in GParted, but I still had the same problems and incorrect entries when I restarted the computer.
While it is possible that I could determine all of the necessary start-up boot commands to manually enter each of my bootable partitions, this is really rather inconvenient. I want to know how I can permanently fix the Grub or other necessary files so that my bootloader can take back responsibility for this task. It would also be nice to get back into my Lucid Lynx partition because Natty is a bit buggier than I'm okay with. Fixing my problems with Natty is a topic for another post, however.
I am attaching RESULTS.txt from Boot Info Script. Please let me know if you need any other reports of this nature.
Code:
Boot Info Summary:
I accidentally killed the dhclient processes. I am unable to access the Internet wirelessly or with Ethernet. It's a little irritating because now I have to post this using my phone. I'm looking for a way to reformat the network files to how they looked when I first installed ubuntu. I don't know quite what these are, or really anything about it.
The /etc/network/interfaces file has the following information:
I'm pretty sure there's supposed to be more.
iwconfig typed into the terminal gives me this:
According to lshw, the logical name for my Ethernet interface is eth1. I think it used to be eth0. It's an 88E8055 PCI-E Gigabit Ethernet Controller.
The wireless interface has logical name wlan1. I think this used to be wlan0. It's a PRO/Wireless 3945ABG [Golan] Network Connection. The driver is iwl3945 - [phy0]
Was running 10.10 64-bit on Thinkpad X201. I mistakenly clicked on upgrade this morning (really meant to just do a plain old update)... I tried to stop the process, but nothing that I did could get me out of the upgrade loop... so I eventually was forced to go ahead. Machine boots into 11.04; however, keyboard and mouse doesn't work. I have an external keyboard/mouse combo and that will intermittently work, but questionable. I was able to turnoff Unity; however, Classic doesn't seem to work with either external keyboard or laptop builtin.
My root and home are on separate partitions. I have a very fresh copy of home backed up on a separate drive. I don't have a recent backup of root. If I could get Natty working with Classic (including minimize/maximize) I'd be OK...I'd be also OK with going back to 10.10 if I could do it without too much pain. Meanwhile, I'm using another machine with Windows 7 so that I can at least do some work and come back to resurrecting my machine after I've had a bit of a timeout..
I have Googled. I have searched these forums and others. I have ripped my hair out in frustration. As many are aware, custom resolutions- "What the hell" by "that's just messed up" or "Jesus Christ" by "you've got to be kidding"- are very hard to set under the new "xorg.conf isn't really used" paradigm. This should not be. Many Ubuntu users are running the OS on displays with either nonstandard display resolutions or devices which overscan the display but do not offer a 1:1 pixel display setting- such as myself, on my 50" Samsung 1080p DLP television, connected via its HDMI port.
After more than a year trying to find a hard-and-fast process for fixing this overscan problem (note that I did not say "a hard-and-fast FIX for this problem"), I have decided to turn to the collective wisdom of the Ubuntu user community in an effort to put this issue to bed for good. To that end, I create this thread.
Recent research via the web has led me to believe that the problem lies in the X server not being aware of any sort of valid modeline for my- or your- nonstandard resolution. I am well-aware that each solution for each user will be different; if you're reading this, you're probably a geek like me in the first place, and your chops are more than sufficient to tackle both biting off this huge issue and chewing it.
My question to the community is this: How do I determine the correct modeline to add to xorg.conf, how do I make it available to the X server, what do I need to do to format the modeline in a valid way in xorg.conf (if necessary), and how do I make it appear in the list of valid resolutions when I run nvidia-settings (or whatever the command is)?
Keep in mind, I'm more interested in establishing the correct pipeline for fixing the problem and allowing arbitrary resolutions to the limit of the given device's capacity, rather than an exact solution for my particular hardware. In other words, I don't want an exact answer for my situation; what I'm looking for is a method for finding the proper solution given situations similar to mine.
Been living with apt-get not working for a while now, don't know how it broke but i'm running a 2.6.26.8 kernel for vmware and maybe thats it?
Code:
The following extra packages will be installed:
The following packages will be upgraded:
I do not like the new volume and battery notifications in the notification area of the panel in Ubuntu 10.04. I found out how to add back the old volume control by adding gnome-volume-control-applet to the startup applications. It is much nicer to use. I just stop on it (step 1) and scroll my mouse wheel up and down (step 2) and it shows me what is going on. With the default one for 10.04 I have to stop on it (step 1), then click it (step 2), then run up to the slider (step 3), then stop on the slider (step 4), then run my mouse wheel to adjust the volume (step 5), then click some were else to make it go away (step 6).
So now that I have the old volume controller back I would like to remove the new dysfunctional one from the notification area. It seems that I should right click and choose add and remove notifications, but I do not see any thing like that. I found a command to remove the envelop from the notification area (something else I never use). Does someone know a way to remove the volume controller from the notification area?Also, does someone know how to put the old battery monitor back on the panel. With the old one I could just stop on it to see how much battery was left. With the new one I have stop on it, then click to see it, then click to hid it? Finally, does anyone know how to remove the battery form the notification area?
I'm running Debian Squeeze 32-bit with KDE 4. I've got a BenQ T2200HD monitor, and no matter how i try to configure it, fonts will always look crappy. after looking around a bit, I found some patch that is called David Turner's LCD ClearType-like patch. I found the packages- [URL]
View 10 Replies View RelatedI currently have Xubuntu and Mac OS X on my PowerBook G4, however, I recently got a netbook and use Ubuntu via USB on it and now would prefer to have only OS X on my powerbook. I would like to use Gparted to restore/fix my partitions and don't exactly know what I need/don't need and also how to resize my os x HSF+ partition back to full size? An image below shows my current setup (kinda messed up I think.) What steps should I take in Gparted to delete the unnecessary partitions and give OS X it's full size?
View 3 Replies View RelatedWe are currently transferring data from a proprietary DB to Postgresql. All of the data is in text files, each approx 125,000 lines long.I have a problem with 2 of the files.One of the columns contains a numeric which should be in the format 00000.00 or be 0.00 -unfortunately approx 25% of the records contain a null.I can use cut to 'slice' the file into 3 sections but my problem is : how do I keep the values and only replace the nulls with 0.00
View 11 Replies View RelatedSome how, my /boot has been deleted. So can this machine be recovered ?
View 3 Replies View RelatedI have the joyous task of having to find and fix a bug in a large opensource project for an assignment. Fixing the bug should only take about 4 hours according to the lecturer. I would prefer the source language of the project to be Java, since my C++ is quite rusty.
So, does anyone have some experience in this type of thing, and can you give me advice about which projects would not be nasty to an ignorant student? Also, which tools did you use to make it easier for you? I want to learn how to do this,but I'm just a bit clueless at present.
I've read that you can fix lilo after a bad edit by booting from install cd1 and entering: Code:boot: bare.i root=/dev/hda X noinitrd ro at the boot prompt. Can someone confirm this or suggest a better way? I'm using slackware 13.
View 3 Replies View RelatedI erased my partition table. Can anyone recommend a good method of reconstructing it? And if this is impossible, can anyone recommend a good method of data recovery? I had an ntfs partition with windows 7 and a larger ext3 partition that ran Debian.
I'm running Test-disk on the SystemRescueCD at the moment (cross your fingers).
I have been using Ubuntu Live CD to get forensic (can't be modified in any way) images off of drives, but on dirty filesystems it does some type of fix on dirty Windows filesystems.
It has the message: File system wasn't safely closed on Windows fixing
How do I turn that off?
I create my own live CD, so I can modify what ever. Where is it? Initrd?
I just installed Ubuntu 10.04 LTS on an external hard drive (USB connected) and I can no longer boot my Windows XP(SP3) from my internal C Drive. Grub gives me the list of boot choices, but when I choose the C drive, I just get these error messages:
GEOM ERROR
For Realtek RTL8139(X)/8130/810X PCI fast ethernet controller v2.13 (020326)
Client MAC ADDR: 00 13 D3 07 FD F5 GUID: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF
PXE-E53: No boot filename received
PXE-NOF: Exiting PXE ROM
(The version of Grub is 1.98-lubuntu5). I don't have a Windows System CD to boot from, but is there something I can do from within Ubuntu itself?
I followed the instructions given at http://linuxhub.net/2010/06/fix-big-and-ugly-plymouth-in-ubuntu-10-04-lucid-lynx/ for fixing my ugly plymouth screen after installing Nvidia drivers. All worked as expected. However I made some modifications in the instructions as I required.
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
I used 1366*768 instead of 1280*1024.
[Code]...
After fixing an issue with sleep mode, my WiFi is automatically disabled on my Ubuntu installation on boot while the switch is on. For some reason, it seems that Ubuntu has an issue communicating with my BIOS. As a fix to this problem: I disabled the C4 sleep state. My Ubuntu installation now boots up fine but the LED on the WiFi indicator glows orange, indicating that it's off; while in Windows it glows blue, indicating that it's on.
View 2 Replies View RelatedI installed Debian 8.2 first, then Windows 10 over it (I know, backwards, but I didn't wish to lose my customizations on Debian up to that point, and didn't realize until later that I wanted to Dual Boot). Running from a LiveCD of Debian 8.2:
Code: Select allsudo fdisk -l
Device - Start - End - Sectors - Size - Type
/dev/sda1 - 2048 - 116211711 - 116209664 - 55.4G - Linux filesystem
/dev/sda2 - 116211712 - 116244479 - 32768 - 16M - Microsoft reserved
/dev/sda3 - 116244480 - 232421375 - 116176896 - 55.4G - Microsoft basic data
/dev/sda4 - 232421376 - 234440703 - 2019328 - 986M - EFI System
[code]...
That's where I am stuck. I'm a bit new to Debian & Linux still and I've never dabbled with Grub2, I imagine I can't mount /dev/sda4 because in chrooted into /dev/sda1 and it can't see /dev/sda4 at this point (what I'm thinking anyway). So I try:
Code: Select allroot@debian:/# fdisk -l
fdisk: cannot open /proc/partitions: No such file or directory/I imagine that's what it is, but I don't know a way around that. I want to dual boot Windows 10 & Debian 8.2 on a UEFI (or EFI?) system with a GPT Disk. No guide I have found for fixing Grub2 or getting Dual Booting working with Debian then Windows installed have covered both things at the same time. I just have to be special I guess.
I am a relative newbie to Fedora 12, altho did start with OpenSuse. I installed XP first with the games that couldn't run via wine. Then I installed Fedora but I must've done something wrong as although Fedora runs fine with a few personal tweaks with everything I want I can't access XP as it is no longer an option in the boot up. What do you suggest I do. I have a system rescue cd ready but don't know how to access the boot or change it.
[Code]...
I have a situation where a disk was built using an image from a disk with a much smaller geometry. The result is about 70% of the disk is unused. Most of the partitions (including root) are on an extended partition that is sized for this smaller geometry. The person who did this has already been scolded, but life goes on.fdisk shows this:
Disk /dev/sda: 146.6 GB, 146694733824 bytes
255 heads, 63 sectors/track, 17834 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
I did set up a new server (with mail, apache and lots of other stuff) and was not aware that the new harddisks of type WD10EARS-00Y5B1 were using 4KB sectors internally. The problem became visible after going live because of the lousy performance of the harddisk drives.
Present situation: openSUSE 11.2 i586, 4 GB RAM, 2x 1TB HDD
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000efdd0
[code]....
I already did re-partition /dev/sdb with parted-2.2 (compiled from source) and set the alignment starting with sector 64 (instead of the default 63) making sure that the sector count of every partition divides by 8. Now comes the tricky part: I must partition /dev/sda as well. I can backup everything to /dev/sdb. What is the recommended course of action here? Make sdb active and boot it? That would give me all the time I need to deal with sda. Then reverse again. Any backup of /dev/sda will be outdated soon (running system)Rescue DVD only offers parted-1.9.0
I got my wife to try Linux, so we set her machine up to dual boot with Windows. After a few weeks, she decided not to use Linux, so we deleted the Linux partitions using Gparted on a USB drive and resized the NTFS partition, under the apparently mistaken impression that Grub would detect that there was now no other operating system. When we rebooted, we got error: no such partition, followed by a grub rescue prompt. I've never worked with Grub directly before, so I have no idea what to do at this point.
View 5 Replies View Related