My tech savvy friends built me a computer and put win7 64 bit and then installed ubuntu (upgraded to 10.10) and had grub so whenever i turned my computer on i could choose between linux and windows and everything was fine. The other day i couldn't boot into ubuntu so i went into my win7 partition and deleted ubuntu and all other partitions and/or extensions thinking that it would get rid of ubuntu. Now when i boot it doesnt recognize anything so i tried booting from my ubuntu cd (don't know if its 10.4 or version) and it will load and when i try to install it i get the grub recovery thing and then the initramfs thing and the error "initramfs Can not mount /dev/loop0 (/live/image/live/filesystem.squashfs)"
i don't need ubuntu but i do need windows as it has files and papers that i need this week.
Just installed Ubuntu 10.10 onto my new netbook from a USB stick. The laptop came with Win7 Starter, which I kept on a small partition. Installation was apparently successful, but when I start up the computer, it will go straight to Win7 and GRUB doesn't appear.
i have ubuntu 10 and win 7 dual booting on one hdd, all of a sudden grub says error no such partition when i select windows at the boot menu. and i cant get to the win7 partition from ubuntu (to play music and stuff, this used to work, places, mount filesystem, 250 gigs whatever). i've tried the stuff in these links and nothing has worked so farpartition info
sudo fdisk -l /dev/sda Device Boot Start End Blocks Id System /dev/sda1 1 29094 233697523+ 7 HPFS/NTFS /dev/sda2 * 29095 30401 10498477+ 83 Linux
I had a win7 installed on my system first. Then I installed Ubuntu and added grub2 boot option with win7 utility program EasyBSD. But then I accidently deleted win7 boot option from windows loader menu. Now I can only chose to load Ubuntu. How can I restore Win7 loading option? I have Win7 option in grub2 but it returns me to the previous screen, from which I have deleted win7.
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code: Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
download anything (obviously). Can someone walk me through how to get it back online. I didn't have audio after upgrading and i ended up deleting the internet connection thing. i cant download from terminal/package manager etc. I tried rolling back but it still doesnt work.
I just upgraded to 10.04 from 9.10 and when I choose to boot to my Win7 Pro it just loops back to the grub menu. I did choose the partition that Windows is on when I was upgrading and it shows up in the menu.
I updated Ubuntu and part of it was an update to grub. When it came up in the installation I told it to keep the old one and left everything as it was. Then when I tried to reboot into Windows it gave an error message. So I went back into Ubuntu and reinstalled grub and now when I select Windows it just loops back to grub.
I have a dual boot system which I made from scratch Win7 and then Ubuntu 11.04.After installation all worked fine but each time I have to run Win7starting it from Grub2)when I shut it down and restart the laptop, grub2 is not there anymore and Win7 starts with its bootloader.To get back to Natty I have to go through the Live CD and install Grub + Boot Repair and run it.'m lost. I attach the boot info results.
My /var/ partition continues to fill up on all my servers, and it is because the logs in /var/log/apache2 or /var/log/mysql are being deleted during log rotate, but their file handles are being held open. Thus, a "du -sh /var/log" shows the correct values, but "df | grep /var" shows something much different.
It seems that the log files rotate, however if I run "lsof | grep deleted" it returns lots of files that are no longer visible in the directory, however refuse to clear themselves off the disk.
The only way I have found to make these log files go away (and thus clear up the disk space on the partition I should have) is to restart either apache or mysql, depending on which process has huge sized log files being held open.
Is it just me, or is this a big flaw in the way linux works, that it can't figure out how to release file handle for a log so the disk space can be reclaimed? This is happening to me a lot lately.
Here is some output from one of my web servers so you can see what I am seeing...
root@web49:~# df -h | grep /var$ Filesystem Size Used Avail Use% Mounted on /dev/sda8 9.2G 6.1G 2.7G 70% /var root@web49:~# du -sh /var
I used photorec to recover lost files and it brought up 70gb worth of files, when I was done looking through them I deleted these files. but these files still seem to be taking up my disk space. When I try to access my trash bin with root I get a message that reads...."The folder contents could not be displayed. sorry, could not display all the contents of "trash": operation not supported." if I open my trash bin when I'm not in root, the bin is empty.
My backup hard disk is connected by USB cable. After I installed Ubuntu 11.04 the disk had been wiped and a version of Ubuntu installed on it.I had forgotten to disconnect the external disk's usb cable before running the install in case something like this happened.I then just took whatever the installer said regarding partitions: I trusted it;and the installer's manual partition manager is a little too technical to be user-friendly. Mostly, I just trusted the automated partition manager to be making the right decisions for me.
The installer's auto-partition manager said it was erasing two partitions. I thought, oh that must include some sort of swap drive then.The auto-partition manager said it was using 500Gb of space. I thought, well there's more HD space on my desktop than I thought.I recently acquired the machine. It was a hand-down.The installer said do you want to install Ubuntu with, over or beside whatever existing versions there are. I said, over. I wanted a clean install since my attempt at making Ubuntu do an upgrade install had already failed. This was clearly stupid of me. But it was not as stupid as issuing an O/S installer that did what this one did.
The installer completely wiped my external usb backup drive. Not only that, but it installed another instance of Ubuntu on it. The install routine actually installed two instances of Ubuntu 11.04: one on my local HD and one on my now erased external HD.Just to rub salt in the wound, the update manager only updates the version that's running: the version on my internal HD. The version the installer copied over my backup data is redundant.I have fortunately a second backup of most essential data. But the external HD contained data that was not copied elsewhere. It has been permanently erased. It will probably possible to retrieve this data from original sources at a considerable inconvenience. I do not know at this time whether and how much of the data that was erased is now lost forever and what the consequences of the loss would mean.
When i try to install UBUNTU 11.04 it shows me the warning that there is no OS on my hard disk.But i have windows XP SP3 & UBUNTU 10.04 on my hard disk. Will all the files be deleted on my hard disk containing Windows XP if i install UBUNTU 11.04? How can i solve the problem?
My main storage partition got full, so I'm deleting files to make room. However, df -k keeps reporting no space available on that partition (/disk). Here's the output of the command several minutes apart while another process is deleting a 30G of space:What can I do to make the space available immediately?
Last night, I formatted my laptop(Asus w5f). And I installed win7 Home Premium. Then I installed Ubuntu 10.04. After installation, I restarted the computer. When I choose win7 at grub, comp. restarted itself. But When I choose Ubuntu, started properly. Now, grub is not starting win7. At ubuntu, I can see windows disk and files. But win7 doesn't start.
I finally got it and windows 7 installed on separate hard drives. Windows installed first, then ubuntu 10.04.01. Had to use the alternate ubuntu install cd to make it work. During the install it said there were no other operating systems installed on the computer and asked if grub could overwrite the master boor record. I knew this was something I wanted to do and if it was wrong it could most likely be fixed later. So that being said, ubuntu has taken over the boot of my pc. No grub menu pops up. Not sure how to add windows to grub to make it give me a choice. I did try pressing shift during startup to get grub to load, and nothing happened.
Here is my fdisk. Windows is on sda and ubuntu is on sdb. Disk /dev/sda: 74.4 GB, 74355769344 bytes 255 heads, 63 sectors/track, 9039 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: 0x000ddedc
Device Boot Start End Blocks Id System /dev/sda1 * 1 13 102400 7 HPFS/NTFS Partition 1 does not end on cylinder boundary. /dev/sda2 13 9040 72508416 7 HPFS/NTFS
Device Boot Start End Blocks Id System /dev/sdb1 1 8666 69606400 83 Linux /dev/sdb2 8666 9040 3004417 5 Extended /dev/sdb5 8666 9040 3004416 82 Linux swap / Solaris
I am kinda new to Linux but because I started a linux-course I decided to install it on my desktop. Before I used Virtual Box or VMware so it was pretty straightforward but now I have a problem with booting into Win7. I decided to install Debian along with my Win7. From a hardware perspective the things are like this, I have 3 HDD, 2 on a RAID0 and the third will be the one with Linux. On the RAID0 matrix I installed Win7 first, all ok there.
Then I started installing Debian. I followed the installation wizard, I partitioned the 3rd HDD and selected it as the drive for Linux. Then after I installed Linux and rebooted I only saw Debian in the GRUBs boot options, no sign of Win7. I think it has to do with the RAID0 matrix which "houses" Win7. I disconnected the 3rd HDD, and now when I try to boot no sign of the Win7 bootloader thou the RAID0 is ok. The only message I get is "insert boot disk".
I set up a dual boot system with Win7 and Ubuntu 9.10. Ubuntu is the first OS listed in the boot menu. I would like to change the boot order so Windows is first. Also after running a few updates I now have multiple boot items listed for Ubuntu that I'm sure are no longer needed. Having never edited Grub and searching through the forum, I'm asking help. I going to guess that I want to edit grub.cfg. If so, what do I need to change within the following information?
Looks like Grub2 on my new installation of Ubuntu 9.10 is not picking up a Windows 7 installation on a RAID0 array (using the built-in RAID software from my Asus P5Q-Deluxe)
Here are the results of the boot info script:
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks for (UUID=43b4cb20-dfea-4513-80e9-54d066107c71)/boot/grub. => No boot loader is installed in the MBR of /dev/sdb
I had XP Home on my dual boot Ubuntu 10.04 LTS amd64 PC & now installed Window 7 Home Premium 64-bit over old XP. Before installing Win7, as a precaution, I disconnected the hard drive where Ubuntu is installed. Now, naturally, the startup screen (grub?) still offers XP. Is there an easy way to re-detect & rewrite the startup menu with the Ubuntu install CD without re-installing Ubuntu 10.04 LTS amd64 again, like a GRUB repair or rewrite?
I have a major problem with Windows 7's MBR. I deleted Ubuntu's partition last night, and when I restarted, I saw: Code: error: no such partition grub rescue> I looked it up, put some code into a LiveCD terminal, and I thought it worked. But now, I says that I definitely need to put in a Windows 7 CD and do that MBR fix method. I did not own a Windows 7 CD; my laptop came with it pre-installed, and I have no recovery partition anymore.
I have Win7 installed in my notebook, after I install WinXP, after I install Ubuntu 10.10
I need WinXP to my project...
I re-install Grub2 with live CD and the WinXP doesn't show up...
So I re-install WinXP... Re-install Grub2 and WinXP doesn't show up again...
So I custumise Grub2 and I put one line for WinXP (doesn't work)
But Now, Win7 line in Grub2 boot WinXP
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #6 for (,msdos6)/boot/grub.
I've resized partitions with some program - perhaps even gparted - but from Win7. partitions are indeed resized, but now I can't boot Win7, grub says: "No such device found - No such partition found". I tried to use some advices on similar problems I found here (like adding GRUB_PRELOAD_MODULES="part_msdos" to etc/default/grub and running grub-mkconfig after), but nothing helped. I guess I could restore win7 with installation dvd but I want to fix GRUB (and have both ubuntu 10.10 and win7)
Code: john@john:~$ sudo fdisk -l [sudo] password for john: Disk /dev/sda: 82.0 GB, 81964302336 bytes 255 heads, 63 sectors/track, 9964 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: 0xd576590b
Device Boot Start End Blocks Id System /dev/sda1 1 789 6336513 f W95 Ext'd (LBA) Partition 1 does not end on cylinder boundary. /dev/sda2 * 1476 4008 20346322+ 7 HPFS/NTFS /dev/sda3 4009 9964 47841570 7 HPFS/NTFS /dev/sda5 1 749 6008832 83 Linux /dev/sda6 749 789 326656 82 Linux swap / Solaris
I just finished my Windows 7 reinstall, and I go to reboot into Linux, and there's not grub loader. I go into a live CD and get into the grub prompt. Here's what I got: sudo grub grub> root (hd0,0) grub> setup (hd0) Error 17: Cannot mound selected partition
As for additional information, my fstab is listed below: aufs / aufs rw 0 0 tmpfs /tmp tmpfs nosuid,nodev 0 0 /dev/sda6 swap swap defaults 0 0
I want to know about grub. Let start with the explanation of grub. I am using Ubuntu 10.04. Yesterday when I installed widows7, I lost my grub. Every time I tried to install windows running on Ubuntu machine, the grub is lost. Why is it so? How can I restore it (for Ubuntu 10.04)? Can any advance setup be made while installing windows, so that the grub is not lost?
I had Windows 7 and Ubuntu 10.1 installed in my intel i3 4gig DDR Sony Vaio E-series laptop. Both operating system were working fine. Only problem that I used to have was the sound didn't use to play when I boot through Ubuntu. Due to that, I formatted the corresponding drive from Windows in which there was Ubuntu installed. I used "diskmgmt.msc" to delete the partition and then format it. The format was successful and when I restarted my computer, this error was displayed:-
error: unknown filesystem grub rescue >
Windows didn't load at all. I used to have multiple boot grub menu previously before formatting the partition but that didn't show up after formatting.I am unable to use any of the Operating System.
I have ubuntu in sda7. sda6 had bt4, sda3 had Win7. From Win7 I removed sda6. Now when I start my computer I get grub rescue. How can I tell grub that ubuntu in sda6 and not in sda7 anymore or how can I create sda6 again so ubuntu goes sda7.