Re: Removing Windows from Dual Boot
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: [r...@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 * 1347027872743+ 7 HPFS/NTFS /dev/sda234713483 104422+ 83 Linux /dev/sda33484729630627922+ 8e Linux LVM [r...@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 0257416 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 Michael: I have not answer to your question, but only a suggestion: as FC7 is so old and unsupported, and you also want to uninstall windows xp, wouldn't you like to fresh install F13, or in brief F14 ? Regards, Germán. -- Germán A. Racca National Institute for Space Research (INPE) São José dos Campos - SP - Brasil http://skytux.fedorapeople.org -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Removing Windows from Dual Boot
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: [r...@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 * 1347027872743+ 7 HPFS/NTFS /dev/sda234713483 104422+ 83 Linux /dev/sda33484729630627922+ 8e Linux LVM [r...@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 0257416 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. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
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: [r...@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 * 1347027872743+ 7 HPFS/NTFS /dev/sda234713483 104422+ 83 Linux /dev/sda33484729630627922+ 8e Linux LVM [r...@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 0257416 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@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Removing Windows from Dual Boot
On Thu, 2010-08-26 at 10:55 -0700, JD wrote: Or just a regular non-lvm partition. True, I was considering that another LV in the same VG would be more flexible and provide possibly best use of the disk space available. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Removing Windows from Dual Boot
On Thu, Aug 26, 2010 at 11:03 AM, Terry Polzin foxec...@wowway.com wrote: On Thu, 2010-08-26 at 10:55 -0700, JD wrote: Or just a regular non-lvm partition. True, I was considering that another LV in the same VG would be more flexible and provide possibly best use of the disk space available. Yes, I'd convert /dev/sda1 to a PV, extend the existing VG and LV with it and expand the filesystem on the LV. That's the easiest. -- Rick Stevens, Nerd Manifique -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Removing Windows from Dual Boot
Rick Stevens wrote: Yes, I'd convert /dev/sda1 to a PV, extend the existing VG and LV with it and expand the filesystem on the LV. That's the easiest. My variation: convert /dev/sda1 to a PV, extend the existing VG, __pvmove the LV (most of it) into the new PV__ then expand the LV, expand the filesystem. The advantage is that the first part of the filesystem (which is now containing files) will be moved almost entirely onto the initial part of the disk, which is faster. -- Roberto Ragusamail at robertoragusa.it -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
RE: Removing Windows from Dual Boot
Rick/et al Thank you for the varied suggestions, I think I will try expanding the filesystem as that is what I was actually looking to do. Working on backing the system up as we speak just to be safe! I would love to upgrade the linux however this laptop is being used for some very specific programs and those have yet to be tested on something much newer. It is do-able should the expansion fail, but I would also need to get bootprofile to work on something newer and haven't had much luck with that (on fedora 10 or newer). Thanks again, I will report back J Michael From: users-boun...@lists.fedoraproject.org [mailto:users-boun...@lists.fedoraproject.org] On Behalf Of Rick Stevens Sent: Thursday, August 26, 2010 2:16 PM To: Community support for Fedora users Subject: Re: Removing Windows from Dual Boot On Thu, Aug 26, 2010 at 11:03 AM, Terry Polzin foxec...@wowway.com wrote: On Thu, 2010-08-26 at 10:55 -0700, JD wrote: Or just a regular non-lvm partition. True, I was considering that another LV in the same VG would be more flexible and provide possibly best use of the disk space available. Yes, I'd convert /dev/sda1 to a PV, extend the existing VG and LV with it and expand the filesystem on the LV. That's the easiest. -- Rick Stevens, Nerd Manifique === 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. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Re: Removing Windows from Dual Boot
On 26 Aug 2010 at 13:31, Weiner, Michael wrote: Subject:Removing Windows from Dual Boot Date sent: Thu, 26 Aug 2010 13:31:46 -0400 From: Weiner, Michael wein...@ccf.org To: Community assistance, encouragement, and advice for using Fedora. fedora-l...@redhat.com Send reply to: Community support for Fedora users users@lists.fedoraproject.org mailto:users-requ...@lists.fedoraproject.org?subject=unsubscribe mailto:users-requ...@lists.fedoraproject.org?subject=subscribe 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: [r...@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 BootStartEnd Blocks IdSystem /dev/sda1*1 347027872743+ 7 HPFS/NTFS /dev/sda234713483 104422+ 83 Linux /dev/sda334847296 30627922+ 8e Linux LVM [r...@leex ~]# df Filesystem1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 28599044 22148476 4974372 82% / /dev/sda2101105 1863177253 20% /boot tmpfs2574160 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 Have seen a number of replies to this original message, but there is one issue that I haven't seen addressed. In my reading of the setup, the disk is using the Windows ntldr as the primary boot loader, since the NTFS partition has the boot flag? It may be that boot loader has been changed to grub, but the boot flag is not on the linux boot partitions, so you might need to reload the grub boot loader to correct this. I would always do a full image backup before doing anything, so that if something doesn't work, you can put the machine back as it was. Good Luck. === 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. +--+ Michael D. Setzer II - Computer Science Instructor Guam Community College Computer Center mailto:mi...@kuentos.guam.net mailto:msetze...@gmail.com http://www.guam.net/home/mikes Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +--+ http://setiathome.berkeley.edu (Original) Number of Seti Units Returned: 19,471 Processing time: 32 years, 290 days, 12 hours, 58 minutes (Total Hours: 287,489) bo...@home CREDITS SETI 9914631.176386 | EINSTEIN 787.170851 ROSETTA 2192816.978376 | ABC 2272894.750969 -- users mailing list