General :: Delete OS From Disk And Grub2?

Sep 1, 2010

Originally, computer had 20GB drive dual boot WinXP and LinuxMint using so-called grub legacy. I upgraded another WinXP machine by cloning its 120GB drive to a new 250GB drive. I put the 120GB in the Linux machine and gparted it to free 40GB. I tried loading Ubuntu 10.04 Studio in 10GB partition. Something went wrong during software unpacking phase and was left with commandline (c/l) 10.04. Kept 10cl in the partition. Tried again in new 10GBpartition to load Ubuntu 9 Studio - success. Grub2 is now new bootloader. Boot options = c/l 10.04, 9 Studio, XP from 120GB, LinuxMint, and XP from 20GB. The 120XP is unbootable (HardwareAbstractionLayer problem I expect). Tried to install 10.04 (regular not studio) over c/l 10.04 but managed to install in addition to i.e. did not overwrite. But otherwise 10gui install is ok. FYI: Grub2 is the initial boot loader however selecting LinuxMint on orig 20GB drive shows grub = legacy in LM (grub -v) term box, the Ubuntus on the 120 show grub 1.9x in term.

I wanted to delete 10cl from disk and grub. Originally intend to gparted->delete partition from U10gui then run grub update but could not because a partition (i.e.10gui) on the target disk was mounted. So I booted into LM and deleted 10cl partitions (ext and swap). That was a bad move! Could not boot machine - grub2 would not boot because 10cl partition was not found. It left me at the "grub rescue" prompt. I wound up reinstalling Linux to the empty partitions.

How do I delete the 10cl o/s from grub and the disk?

Later I will want to delete unbootable 120WinXP o/s from grub and the disk. However, with the WinXp, I will want to keep the data and just delete the o/s.

View 38 Replies


ADVERTISEMENT

General :: Can't Delete Files From External Hard Disk / Remove It?

Mar 26, 2010

Can't delete files from external hard disk.
Getting message,"Input output error or unreadable/corrupted file"

Is there any way to delete this?

View 1 Replies View Related

General :: Mounted Disk Still Reports 0 Bytes On Rhel 5 Even When Files Are Delete?

May 3, 2011

Mounted second hard disk still report 0 bytes even when files are already deleted in rhel5 . I already checked the lost+found and trash . It only happen that disk space on deleted files cannot be recovered after the disk reach full capacity , but if it does not reach yet its full capacity , deleting files will recover the disk space . The format of the disk I have mounted is ext3 also have tried ntfs using fuse but the same problem , once allowed to reach 0 bytes I can no longer recover space with deleting files and had to reformat and restore the backup

View 4 Replies View Related

Ubuntu :: Delete Grub2, No CD/FDD, No USB-load?

Dec 23, 2010

I have old laptop without CD (already it's dead), FDD was not from the beginning. This laptop have USB but can't load from USB. I install grub2 but it's work not correct. It boot system only 1 per 3 times. Don't show text correctly - sometimes I saw black squears & not letters (only in this f*g grub2; why developers don't made normal uninstaller?).

View 3 Replies View Related

Ubuntu :: Several Versions Of Kernel In Grub2 Boot Menu Delete Old Ones?

Mar 3, 2010

My Grub2 boot menu includes:

Ubuntu, Linux 2.6.31-19-generic
Ubuntu, Linux 2.6.31-19-generic (recovery mode)
Ubuntu, Linux 2.6.31-14-generic
Ubuntu, Linux 2.6.31-14-generic (recovery mode)

Q1) I only really need the latest kernel, 2.6.31-19, don't I?

Q2) So how can I get rid of the two 2.6.31-14 entries?

View 5 Replies View Related

Ubuntu :: User And New Installation - Delete Partitions - Rebuild The Grub2 Config File

Aug 5, 2010

i just installed ubuntu yesterday (dual boot) and ive finally decided i wanted to wipe windows xp off my hard drive first of all i know how to delete partitions and such but then i went to g parted and saw all this crazy info (screenshot posted) im really confused and down wanna end up ruining my installation.

But what i want to do is remove my xp installation merge the empty partition with my linux partition and then rebuild the grub2 config file.

View 9 Replies View Related

Ubuntu :: GRUB2: Error: No Such Disk?

Mar 3, 2010

I have a machine with two internal SATA drives sda and sdb. Winows XP is installed on sda and I installed Ubuntu 9.10 on sdb. After installation I rebooted and was able to choose either OS from the grub menu.After shutting down and rebooting I was greated with the grub rescue prompt and the messageerror: no such diskI was able to boot to a live USB and use my system again. I thought the problem came from grub being installed to the MBR of sdb, rather than sda. Therefore I installed Ubuntu again, however installed grub to the MBR of sda.

Same thing happened again - the first reboot works fine, then subsequent reboots grub cannot find the disk and I am forced to boot from live usb.Attempt 3 saw me install the root partition onto sda. A couple of reboots later and I was back at the grub rescue prompt. Two days later and after lots of reading I discovered that after doing a reinstall of Ubuntu, rebooting the system then doing a 'sudo update-grub' seemed to fix the disappearing grub problem.I was wrong. It lasted about 6 reboots between Ubuntu and XP, but has broken again. I don't see what the problem is,One point to note is that the BIOS does not let me choose which of the two internal drives to use as primary, infact it sees them as a single eSATA drive.

View 9 Replies View Related

Ubuntu Installation :: Grub2 - No Such Disk Error

Mar 13, 2010

I have a Dell machine with two hard drives that has Windows XP Home on the first disk (sda) and I just installed Karmic to the second hard disk (sdb) and when the install finished installing Grub2 to the MBR and the system restarted, I get the no such disk error and the grub rescue prompt. There is no option in BIOS to boot from the second disk. What do I need to do to get this working?

View 2 Replies View Related

Hardware :: Invoke GRUB2 Present On A Hard Disk From A CD Or A USB Drive?

Jan 26, 2011

I have a very strange problem. My computer is unable to boot from any hard disk but is able to boot from any CD or DVD. I have double-checked the BIOS settings and I am unable to figure out why is this happening. I have noticed that the Windows installer boots from the CD only if one presses a key when the message "Pressany key to boot from CD..." is displayed on the screen, otherwise it boots from the first hard disk.I have a triple boot system with Windows 7 (64-bit), Ubuntu 10.10 (64-bit), and Fedora 14 (64-bit). I have a dedicated GRUB2 partion on one of my disks. What I want is a boot-loader (any would do) on a CD/DVD/USB drive to chain load the GRUB2 present on my hard disk, without a delay, that is, without showing any message, menu, warning, etc. So, is there a way to do that?

View 6 Replies View Related

Debian Installation :: Squeeze Grub2 Error 15 With LVM2 Encrypted Disk?

Feb 9, 2011

This is my specific solution to my specific problem. After updating to Squeeze from my prior Lenny distro (amd64 with whole disk encrytion using LVM2, dm-crypt, LUKS) everything went well - at first. I was duped like so many, thinking that all was well and I could remove the legacy-grub (aka: Grub1) and just use grub-pc (aka: Grub2). As soon as I removed the legacy-grub and rebooted my laptop, I was confronted with:

GRUB Loading stage1.5 GRUB loading, please wait..Error 15 At this point I wasn't sure if it was a Grub problem or a deeper encryption problem - especially after reading that some people had missing packages in Squeeze (lvm2, dm-setup, initramfs-tools, etc.)

Okay, the solution for me.

1. download and burn to disk: debian-live-6.0.0-amd64-rescue.iso[URL]..

2. scroll to and press enter/return on: text rescue

3. choose a root directory - for example: /dev/blah/root (I wrote down the list of possible /dev/.... for reference - this helped me remember where and what I had partitioned in Lenny)

4. choose: Execute a shell in /dev/blah/root

5. once in the shell, I discovered I needed to mount a few of those partitions that I had written down in order to get access to grub-probe, update-grub, grub-install, etc. You may not have to if your partitions are minimal. I you need to use other partitions, type (for example):

[Code]...

View 1 Replies View Related

Debian Installation :: Get Grub2 To Boot A Live System From Hard Disk

May 8, 2011

I have been frustrated attempting to get Grub2 to boot a Debian Live system from hard disk. Have set aside a 4gb partition /dev/sda1 to contain the Debian Live and some other recovery tools. I actually have them all working from a 4gb USB stick successfully, but getting it to work on my HDD has proved challenging. On USB, I have PartedMagic, Gparted, Grml, and of course my standard 6.01 Squeeze. I have also managed to get the Debian Live booting from that USB stick. Very slick.

However, I can NOT get Debian Live to boot from my HDD; altho all of the others above boot fine. Have tried it two ways - one using an iSO image, which is how it is done on my USB stick. The other attempt is to copy the entire contents of the ISO to a directory.

Here are my directory structures:

debian_live_gnome_squeeze_i386- contains the following: debian-live-6.0.1-i386-gnome-desktop.iso initrd.gz initrd.img vmlinuz which is how it is laid out on my USB stick debian_live - contains the files from the ISO image The error I get is something like "panic unable to find live filesystem" My grub.cfg snippet for the two methods I have tried - the 2nd menuentry is similar to how it works on the USB stick.

menuentry "Debian 6.01 Live (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root=(hd0,msdos1)

[code]....

Probly don't really need to get it working since PartedMagic can do almost everything I need for recovery and I can use the USB for reinstall or whatever else.

View 8 Replies View Related

Ubuntu :: Lucid-Disk 1 Of 2 Failed - Now GRUB2 Chokes On Dual Boot

Jul 20, 2011

Dual boot PC, boot disk and WIN XP are on good disk, Ubuntu was installed on failed disk. (I prefer separate disks for each OS).

I know I will need to reinstall Ubuntu later, and of course, GRUB2 now crashes without the Ubuntu disk.

Confirm that the only thing I need to do when I get the new drive installed and partitioned is to boot my XP disk in Recovery Mode and type "fixmbr", (then reboot to confirm clean WIN operation on the existing disk) then install Ubuntu as normal on the new disk.

View 1 Replies View Related

Ubuntu :: Delete 1 Of 2 Operating Systems On One Hard Disk?

Aug 31, 2010

i have installed ubuntu today and i am enjoying it so far but there is still some problems am having i will explain from the start ,,,i have a hp laptop it has 1 hard disk c,d the d am not planing to mess with it because it has the hp recovery and it might be helpful one day ,,,,so i downloaded ubuntu to an external hard disk then when i was installing it i selected it to be installed on C i thought it would automatically delete vista but it didn't when the restarted the computer i saw 2 options vista and ubuntu so i was wondering if anyone can tell me how do i delete the vista and keep only 1 operation system and btw i have no CD or DVD or floppy available so i cant download it on a cd then format c and install ubuntu again so i need away to delete vista from c while keeping ubuntu in c

View 5 Replies View Related

Ubuntu Installation :: Restore Accidental Delete Of Home.disk?

Oct 8, 2010

I think I did something dumb. I was trying to increase the space allocation to my /home virtual disk on my wubi installation of Ubuntu. I ran the wubi-add-virtual-disk utility (as I had done before the first time I increased my space), but I received the message "The target virtual disk /host/ubuntu/disks/$virtual_disk already exists, aborting." So, thinking that all my data was in a different path and that the file home.disk was probably just some configuration file of little importance (I should've checked and I should've made a backup of it myself), I browsed to /host/ubuntu/disks and ran "rm home.disk", then reran the wubi-add-virtual-disk utility (stored in my still existing /home/cportiz/Downloads directory), and I thought I had successfully increased my space.

To my horror, upon restarting my computer, my desktop was empty and basically unusable as there is nothing to click on. I rebooted on recovery mode and logged on in terminal mode, then browsed to /home and found an EMPTY folder. I ran locate home.disk and found a file at /host/ubuntu/disks with the size that I specified when I ran the virtual disk utility, but I don't know where my old contents are. I didn't just delete all that stuff. it is still somewhere on my hard drive and that all I need to do is modify the home.disk file in this or that way or hit restore. There is not a home.backup file at /host/ubuntu/disks/.

Anyhow, if indeed I've lost everything, I can probably restore most of the work I'd done (only a couple of weeks worth) pretty quickly. Some of the files were backed up in other computers, etc... How to restore my wubi installation to a functional one? I would prefer not to have to reinstall ubuntu altogether since I believe the majority of the packages I've installed were housed on /opt meaning I can get back up and running compiling certain programs from source fairly quickly and most of the recovery effort is in rewriting some of the files that were stored in /home.

View 4 Replies View Related

Red Hat / Fedora :: Delete The KVM Created Hard Disk Image File?

Feb 22, 2011

I want to delete the KVM created hard disk image file, so I would like to know where it is located .

View 6 Replies View Related

Hardware :: Won't Accept CTRL-ALT-Delete With The Installation Disk In The Drive Either

Dec 24, 2010

I just bought an Asus P50IJ-X3 NoteBook which came with Win7 pre-installed. On booting it up, it is taking me through a Win7 setup routine and won't let me get to the BIOS so that I can run my Ubuntu installation disk. It won't accept CTRL-ALT-Delete with the installation disk in the drive either.

Is there any way to get to the BIOS so that I can change the boot order and install Ubuntu WITHOUT setting up WIN7? At this point, I havn't done anything with the machine so aside from return shipping and the re-stocking fee, I should be able to return it. I'm afraid that if I go through the whole setup routine and write stuff to the disk, the vendor (Newegg) may not be willing to take it back.

View 7 Replies View Related

Ubuntu Installation :: Delete The Ext And Swap Partitions From Disk Management On Windows7?

Oct 11, 2010

Can I delete the ext and swap partitions from disk management on windows 7 ? Because I want to install a fresh new copy of ubuntu 10.10 . I know it would affect windows 7 boot up.I can handle it by system restore Anyway can I do it or not ?

View 5 Replies View Related

Ubuntu :: Grub2 Isn't Loading Error "grub Rescue No Such Disk"

Apr 15, 2010

I just installed Ubuntu 10.4 beta. The installation is fine, but grub2 isn't loading Linux. Instead of booting into the OS, I get the message: No such disk grub rescue >I have two hard drives: /dev/sda and /dev/sdb. Ubuntu is the only OS and is located on /dev/sda1. I ran the "boot info" script and include the results here. One problem I see is that I have grub2 on the MDRs of both /dev/sda and /dev/sdb. BTW: From the Live CD, I can select boot into hard drive and Ubuntu will start up just fine. I can also use "Super Grub" CD and everything loads fine.

View 7 Replies View Related

Ubuntu :: Delete Snow Leopard Partition - Format Swap Disk Partition To Something Else

Feb 23, 2011

I had a drive with a partition layout like so:

~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat

I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.

View 9 Replies View Related

Ubuntu Security :: Permanently Delete "Deleted Files" From Hard Disk?

Feb 6, 2011

How do I erase my hard disk of "Deleted Files"?I mean how do I make "Deleted Files"-----> "Non Recoverable"?

View 3 Replies View Related

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.

Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.

sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Fedora :: Dual Booting - Grub2 To See F15 Or Be Installed Using Grub2?

Jul 11, 2011

I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.

Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.

View 10 Replies View Related

General :: Windows 7 Disk Management Utility Doesn't Show Disk With Ext3 Partition

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

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 View Related

General :: Check Some Folder On A Shared Disk - On Local Disk?

Sep 20, 2011

How to check if some folder is on a shared disk or on a local disk?

View 1 Replies View Related

General :: Disk Utility And Df Show Different Disk Space ?

Nov 18, 2010

I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.

I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.

When I run df I get the following:

Question: Why is Disk Utility showing me something different than "df"?

View 6 Replies View Related

Ubuntu :: Change Delete Button To Delete Instead Of Move To Trash

Apr 18, 2010

Instead of moving to trash, how can i make the delete button delete? Delete is already enabled on the right click menu.

View 7 Replies View Related

Ubuntu :: Folder Wont Delete \ Whenever Try To Press Delete Noting Happens?

May 9, 2010

SO after using Testdisk to recover some images, the folders recup_dir.1 & 2 have saved in my FIle System area, when ever I try to press delete noting happens. I have also tried rm -f -rrm -f -fIt still dont delete, I have also deleted my user account and made a new one, but the files are still there.

View 4 Replies View Related

Ubuntu :: Rsync --delete Doesn't Delete Superflous Files

Sep 25, 2010

I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:

Quote:

rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back

The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.

(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved