Ubuntu :: Partition Playground - Add Diskspaces To Part Without Any Damage
May 8, 2011
I have ubuntu installed system with dual boot windows xp.I need to enlarge linux partition. I have a free disk in windows partation. I need to add some diskspaces to ubuntu part without any damage. I mean I would like to use my system as before.Windows and Ubuntu. Is there any free software that does?
extended my ubuntu partition with a free space that I had on my NTFS partition. It did get any problem. However, today I couldn't boot into ubuntu ( It was loading for about half an hour ). then I reboot and I got some GRUB error, so I boot into live cd to repair the grub but then unfortunately I found out that my Linux partition is damaged.I some how managed to repair it but the only folder that is there is "lost+found". also there is written 62.8 GB free space, but this should be 112GB (unless there are some hidden files that i can access to )
I know now: I overwrited the mbr with a totally wrong one, and I have no backup.So far as I can recall, I had two primary partitions; the first one for xp, and there were several logical volumes for linux in the second primary partition).None of these partitions are found now, grub reports "Error 22" with the wrong mbr.Can the mbr be corrected/recovered somehow, in a way that all of the original partitions show up again? I think, the partitions themselves are not damaged, since only the mbr was overwritten.
I suppose a fixmbr command from the recovery console of the xp installation CD would fix the mbr and make the xp system in the first primary partition bootable. Am I right? How about the second primary partition; would fixmbr find that too? (Sorry for the silly questions, but I do not want to commit more mistakes, especially irreversible ones.)
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 a problem when trying mounting, checking my ext3 partition. Is a external HD with my "portable" Linux system. Suddenly started to fail, when I try to boot it, the GRUB can't locate the config file, and show me the command line. I boot from my internal HD and try to mount it and have this messages.
Code: sd 2:0:0:0: [sdb] Attached SCSI disk sd 2:0:0:0: Attached scsi generic sg2 type 0 sd 2:0:0:0: [sdb] Unhandled sense code sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK sd 2:0:0:0: [sdb] Sense Key : Medium Error [current] sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error
[Code]...
1.- What exactly is in this first sectors (ext3 metadata?)
2.- Is there some way to fix this quickly, maybe with some "sectors relocation", Or re-create the first logical sectors.
3.- If not, who could i make a full backup (something like dd copy), of all the partition.
4.- How fix it?, even with a long prosses, i don't know, maybe backup the file structure (with forensic tools) and copy into a new (and re-located) partition. This is my last option because the forensic tools sometime can't recover all files and sometimes only parts, or very old files.
I have been using Ubuntu for about a year and I decided to switch to Fedora just to see how it goes with getting everything in my system working again. I would say that with Ubuntu and Fedora installations I have installed and reinstalled 15 times, which I mention because I am not new to installing linux. I have used GParted to partition and resize my HD numerous times and reinstalled linux on a partition and so on. I know how to do all of that without any problems.
NOW HERE IS WHAT HAPPENED... I installed Fedora on my Desktop which I had partitioned into a 190 GB partition onto which Windows is installed and then I had another 30 GB partition onto which I chose to install Fedora. I chose the "replace existing Linux systems" in anaconda... and what resulted was a 30 GB partition with Fedora that is now showing up as LVM. I have never seen an LVM partition and I am not sure if I can use GPARTED to resize it without destroying it. I have used GPARTED to resize Linux partitions before, but they were never showing up as LVM. The forums on GPARTED only show info from about a year or two ago.
Here is what I want to do (and reading around on forums doesn't really give a good explanation of whether it is possible)... Is it possible to install Linux Mint into that 30 GB Fedora LVM partition by just resizing the Fedora part of the volume? So, the question is this: How can I resize the Fedora part of the LVM volume and then install Mint into that LVM partition?
If Fedora was on an ordinary 30 GB partition I would have no problem with using GPARTED to chop that in half and then use the 15 GB I freed up to install Mint. I just don't want to destroy the Fedora stuff by messing around the with the LVM partition so I would like to hear from others who have worked around this issue and please don't link to the ordinary LVM howto's you get through a simple google search as I have already read them and I don't find them too illuminating.
I've been thinking of going into opensuse for a long time and now with KDE 4.4 is finally out - I'm going to do it. The installation shouldn't be a problem but I wonder how I can upgrade to kde 4.4, since opensuse 11.2 will have 4.3 by default? I saw in the documentation to add these repos:
# Core packages: http://download.opensuse.org/reposit.../openSUSE_11.2 # Community: Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE4_Factory_Desktop # Playground: Index of /repositories/KDE:/KDE4:/Playground/openSUSE_11.2_KDE4_Factory_Desktop
whats the difference between core, community and playground? And isnt there "stable" repos for the KDE 4.4 release? And are there a repo with amarok 2.3 Beta?
I just used dd to clone a linux partition to a new hard drive, it had 800mb left on the old hard drive, after dd, new hard drive lists 1.29/1.3 terabytes full. Is this what happens by default in dd? How can I fix this?
I have experienced amarok crash after which i am not able to bring it back to working state. I tried to reinstall it multiple times from standart playground and kde KDE:UpdatedApps repositories. Every time. i start amarok it hangs on splash screen consuming 49% of CPU with no signs to load completely. I guess i need to clean reinstall with deleting all tracing info form previous install?
here's output from console:
Code: InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 101003 11:21:54 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite
I've dual booted Ubuntu and Windows for years now and I've installed OSx86 on a separate drive which Grub2 picked up automagically and everything has been working great -- except I'm out of space. So I bought a 1.5 TB drive and installed win7 into sda1 (100MB NTFS bootloader for windows) and sda2 (50 GB NTFS windows drive). I now want to install two or three flavors of Linux. I'm thinking Ubuntu 10.04, Debian 5.05, and (if I'm bold enough) gentoo. each in 50GB partitions. I've already partitioned the drive a bit putting a 1.2 TB shared NTFS partition at the end (sda10), and a 2 GB swap parition just before that(sda9) My questions are:
(1) can all my linux distro's share that 2GB swap, or does each need it's own dedicated swap partition (installers generally assume you do)?
(2) can I re-partition space in the middle of the drive without messing with windows(sda1&2) and the shared part. (sda10)?
I'm trying to figure out how to access the local part and the domain part of an email address in postfix's main.cf. For example, myname@mydomain.net has myname as the local part and mydomain.net as the domain part.I get the whole email address with %s. I want to speed up the lookups by writing better database queries.I've had no luck finding this in the otherwise well documented postfix.
we have access to one domain name , 1 internet ip address and may servers hosting different part of site. I want them all to be accessed via same web site . some of the server in our network are embedded devices.they have their specific utility being hosted on that machine. So the severs are bound to be distributed . I just wanted to know how can I access them via single ip, domain name.
In bootseqence of linux, the first step is check the CMOSRAM(size 64bytes) setup for custmor setting. So i am just confused wether CMOSRAM is a part of motherboard or is a part of RAM itself.
I'm running Windows 7 on my desktop (But Ubuntu 9.10 on two laptops), and I have an odd problem.I backed up my system from one HDD to another HDD, and in the process the MBR of the destination drive got fouled up and now sees Windows Vista and Ubuntu (even though I never used anything Ubuntu - I assume the backup program used an ubuntu build).Is there any way No, I know there is. I had the answer once but lost it.HOW do I manually edit my MBR to remove the Ubuntu reference and rename Windows Vista to Windows 7? Please note Ubuntu was never dual booted, let alone installed at all, on the HDD in question.
I want to practice restoring the grub, before any emergency occurs
I plan to use the following thread: Grub/XP/Vista Bootloader - Ubuntu Forums
I would be grateful if someone could tell me an easy way to damage the grub. For example, re-installing XP always damages the grub, but I'm sure there are quicker ways to do the same thing .
I was running a somewhat standard install of Ubuntu 9.10, when my drive got pushed into read-only mode,It took an hour or too, but eventually finished. However, now that partition is unbootable, and upon attempting to boot into Ubuntu, it complains about "libsepol.so.1" as missing and starts a recovery shell. In this recovery shell, only certain tools work. ls complains about "libacl.so.1", and the filesystem is still read-only. It completes, much quicker, but the system remains unbootable. I could probably boot into the Ubuntu live-cd to get read-write access, but I wouldn't know what to do.I don't know how I would go about reinstalling the base Ubuntu packages without write access to the hd, or through the live cd.
I'm dual booting Win7 & Ubuntu 10.04 on a Gateway NV78 series laptop, and while on the Windows side, the Gateway Update Manager asks to update my BIOS. If I allow it to do so, will it mess up Grub? For bonus points: how could I fix Grub if the BIOS updates does damage it?
I was in Ubuntu when I dropped my laptop, which resulted in a cracked screen. I loaded Windows (Vista), and found it and the files to be unharmed. On my attempt to load Ubuntu, it takes me to a GRUB screen, where it gives me a default message about GRUB. If I try the command "exit" it replies "No bootable device -- insert boot disk and press any key. It's installed on the same hard drive as Windows (dual boot setup), and Windows works fine. I do have files I would like to get off of Ubuntu (if it is unrecoverable),
<CPU Performance Indicator> Can it damage a laptop in the long run to have it on Performance rather than a lower speed like "Ondemand" or "Powersave"? My laptop runs a lot better with "Performance" rather than something else, but I don't want it to suddenly die or get overheated in a couple of weeks or months.
I was running a somewhat standard install of Ubuntu 9.10, when my drive got pushed into read-only mode, so I switched to tty1, ran /etc/init.d/gdm stop, and then ran fsck -y /. It took an hour or too, but eventually finished. However, now that partition is unbootable, and upon attempting to boot into Ubuntu, it complains about libsepol.so.1 as missing and starts a recovery shell. In this recovery shell, only certain tools work. ls complains about libacl.so.1, and the filesystem is still read-only. When I try mount -rw /dev/sda1, it complains about libsepol.so.1 again. I can however still run fsck. I tried running it with fsck -p -f /, and it completes, much quicker, but the system remains unbootable. I could probably boot into the Ubuntu live-cd to get read-write access, but I wouldn't know what to do. I read an interesting suggestion here, but I don't know how I would go about reinstalling the base Ubuntu packages without write access to the hd, or through the live cd.
I feel a little awkward in this Control Panel: first time user. I installed the latest version of Ubuntu yesterday. All went smooth until I got to installing printer drivers. The setup went online and my system froze...everything froze. I had to do a hard reset. The printer installation went smooth the second time. So far this is the only problem I've had. No details needed. What I was wondering is if there's any way to check if the hard reset did any damage.
I have a P.C. with Windows XP Pro installed and now I want to put Ubuntu on the H.D. Will the partitioning of the H.D. damage the Windows OS meaning a reinstall of Windows. If it does then I may be a bit stuck as I do not have the Windows install disc. Windows XP was put on the machine by the vendor.
I installed Ubuntu 10.04 LTS currently. This is my first experience with Linux and it was installed together with Windows XP on my laptop, a Compaq nx6320 (HP). After first running Ubuntu and then Windows the MBR (Master Boot Record) on my hard drive was damaged and I couldn't start my computer again. All my information and work gone? MBR and Grub can of course be recreated and things don't need to be so bad. You maybe will reinstall Windows and Linux and destroy all your data..
I can temporary fix my system until the problems is solved. The latter will probably be a better Grub(2) that can protect it self from being destroyed by Windows or any other code that write data to MBR. From different forums I can see that many people already is very upset and disappointed with Ubuntu because of the actual problems. Can Ubuntu and its supporters afford this to go on much longer?
I booted up Ubuntu after a couple weeks of downtime. I think it had just installed updates before I shut it down. It seemed fine. I started updating it, then it started giving me a bunch of errors about the root file system being mounted read only, so I had to reboot. I've heard that it does that if the file system is corrupted or there is a hard disk failure. When I rebooted, it kernel panicked on all but the oldest kernel which did a fsck and rebooted. Then I was able to get back in, but most of my panel applets are gone and cannot be restored, it fails to start x at boot with no errors and I have to start it myself from the command line, it is unable to do updates, samba is gone, whenever I update-grub to add Gentoo to the list, it doesn't stay there and the computer is really slow. I have backed up my home folder to another partition. Do you think I will be able to repair it at all or should I just reinstall?
I have my home partition installed on a SD memory card, this memory card was damaged beyond recovery, already bought a new card but i dont want to install the OS all over again.
I have a new lenovo thinkserver hardware. I was configuring my newly installed kernel (slackware 13.1 - kernel 2.6.33.4) maybe to weeks now. I was testing the configuration of the kernel parameters.Suddenly out of the blue my BIOS started to report memory error. I have 6 Fully buffered memories in pairs. Four has no advanced ECC and two supports ECC.It is possible to damage the memory by some wrong kernel configuration???I cannot believe that this is possible but I cannot see any other explanation how can a two weeks old hardware get wrong.
My computer started acting flaky this afternoon and by the end of the day, became completely inoperable. When I reboot and login, I'm given only a Terminal window. I'm running Ubuntu 10.04 LTS, although the Lynx is not very Lucid at the moment!
1). First sign of trouble was yesterday when I was running Win XP as the guest on Virtualbox. XP became unresponsive - at least the mouse could not push any buttons. I had to do a cold shutdown by right-clicking the "close" button at the tab on the bottom Gnome panel. This problem repeated itself today.
2). I attempted (and I thought, succeeded) in upgrading OpenOffice.org to version 3.3. OO seemed to work fine, but after this install I started seeing problems.
3). I attempted to remove Pulse Audio via Synaptic, but instead of removing only Pulse, pieces of software started flying out of the machine (so to speak) at an alarming rate. It happened too fast to count them all. I think the entire desktop is gone along with many individual programs (such as Kaffeine, being one that I noticed).
Currently, I'm running a backup copy of Ubuntu that I keep on a separate hard drive on the same machine. I can access my files from here, and yes, I've backed up my home folder from the other disk!
When I reboot to the damaged system and I get the terminal window, how should I repair the damage? How do I find out if the damage resulted from broken or missing software, or both? Should I try to load Synaptic from the terminal, and if so, how is that done?
I would like to test alphas (of distros and packages), but without doing so from my everyday environment.Obviously, frequent backups are essential for maintaining important files.Apart from that, what other measures can I take to prevent catastrophic data loss?Could a well-designed partition structure the chances of an alpha blowing up data on other partitions?
I have pen-drive and hexEditor, I made my very simple boot sector and I want to boot it from pendrive. Firstly I have to format it, is setting all bits to 0 on pendrive dangerous? or are there any bits that are reserved and I should not touch them?