Re: Removing Windows from Dual Boot



On 08/26/2010 10:41 AM, Terry Polzin wrote:
On Thu, 2010-08-26 at 13:31 -0400, Weiner, Michael wrote:
I am sure this has been asked a number of times, and I am not finding
anything relevant using a google search, so I thought I would post my
query here. I have a user that owns a Dell Inspiron laptop, that has a
60G drive split in two, with Windows XP on the first partition, and
Fedora Core 7 on the second. Now, he decides he would like me to
remove Windows XP and make it a 100% linux laptop. Great, I think to
myself, a convert! Until I look at the way it is configured:



[root@leex ~]# fdisk -l /dev/sda



Disk /dev/sda: 60.0 GB, 60011642880 bytes

255 heads, 63 sectors/track, 7296 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes



Device Boot Start End Blocks Id System

/dev/sda1 * 1 3470 27872743+ 7 HPFS/NTFS

/dev/sda2 3471 3483 104422+ 83 Linux

/dev/sda3 3484 7296 30627922+ 8e Linux LVM



[root@leex ~]# df

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/mapper/VolGroup00-LogVol00

28599044 22148476 4974372 82% /

/dev/sda2 101105 18631 77253 20% /boot

tmpfs 257416 0 257416 0% /dev/shm



And from /boot/grub/grub.conf

#boot=/dev/sda

default=0

timeout=5

splashimage=(hd0,1)/grub/splash.xpm.gz

hiddenmenu

title Fedora Core 7

root (hd0,1)

kernel /vmlinuz-2.6.23.17-88.fc7 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet

initrd /initrd-2.6.23.17-88.fc7.img

title Microsoft Windows XP

rootnoverify (hd0,0)

chainloader +1



I find many tutorials showing how to uninstall Linux from the second
partition and return the machine back to the original XP
configuration, but none really documenting the process going the other
way (eg keeping linux and dumping xp). And I am not even sure it can
be done.



Has anyone done this? If so, is there some documentation that I can
sneak a peak at to help push me in the right direction?



Thanks in advance

Michael


===================================


P Please consider the environment before printing this e-mail



Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News& World Report (2009).
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note: This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law. If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If
you have received this communication in error, please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy. Thank you.

Well the first thing I would do would be to modify the grub.conf file
and comment out the lines that make windows an option to boot.

After a test boot that shows only linux as boot options in the grub
menu, I would remove the commented lines out of the grub.conf and boot
again.

Last thing to do would be to trash the windows partition, reformat that
as an LVM partition and add it to LVM as another logical volume.

Or just a regular non-lvm partition.


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: Can someone else help? Was changing partition size.
    ... with one hard drive, that Windows 98 does not list. ... My Computer still does not list the partition that has ... two hard drives. ... This should fix the boot sector on the C: drive and allow you to boot ...
    (microsoft.public.windowsxp.general)
  • Re: Can someone else help? Was changing partition size.
    ... Windows 98 to boot up. ... My Computer still does not list the partition that has ... This should fix the boot sector on the C: drive and allow you to boot ...
    (microsoft.public.windowsxp.general)
  • Re: New to Linux
    ... > Since I have a large hard drive, I will probably repartition and give Windows ... Not only is it very doable to tri boot, ... linux partitions. ... About that boot partition, it's just another small linux partition with ...
    (Fedora)
  • Re: Removing Windows from Dual Boot
    ... remove Windows XP and make it a 100% linux laptop. ... I find many tutorials showing how to uninstall Linux from the second ... partition and return the machine back to the original XP ... After a test boot that shows only linux as boot options in the grub ...
    (Fedora)
  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)