[SOLVED] I would like the linux installation on my laptop to be gone.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I would like the linux installation on my laptop to be gone.
Lenovo x61 Laptop
Hello:
I plan to install an external USB hard drive on my laptop where I want my linux to live and boot from.
I have SUSE 11.2 installed on my internal hard drive at present. I would like the linux installation on my laptop to be gone before I try the external disk installation - how do I accomplish this?
No questions asked. Most of them are already there on the post above.
Just boot from windows cd and recover your windows boot loader. Now, Linux should not boot and you should directly go into windows.
Using disk management utility of windows, now either delete the unknown partition or format it to the fie system for windows.
Yes, the laptop BIOS supports booting from usb/usb-hdd.
I was thinking of installing SUSE 11.2 GNOME or SIMPLYmepis 8.0 or both, if I can.
The main point would be that linux would only boot when and if the external is plugged in.
The reason I want to delete if first from the laptop is so that I will have less chance of being confused when I try to install 'only' on the external.
Rob.
Last edited by Robert.Thompson; 12-10-2009 at 07:53 AM.
Reason: expanded reply
If you are worried about installing to the wrong disk, just attach the empty external and login to Opensuse as root and run the command "fdisk -l" to get disk/partition information. Your internal will probably be sda and the external sdb which will show up in your install options with yast.
You will need to select Custom partitioning because the default will not do what you want. You will also need to specifiy where you want the bootloader during the install and this option is given.
During the install, you are asked if you want to format and if so, which filesystem. If you do not select format, you will get an error message.
I guess we are assuming you have another operating system (some version of windows) on the lap top??
Using the method you want, you understand that you will have to manually select which drive to boot from each time you want to boot the external. It's possible to put an entry in the windows bootloader to boot Linux on the external but the method varies depending upon which version of windows you have.
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xed1f86f7
Device Boot Start End Blocks Id System
/dev/sda1 1 17042 136888888+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 18867 19457 4740120 12 Compaq diagnostics
Partition 2 does not end on cylinder boundary.
/dev/sda3 * 17042 18866 14659312+ 5 Extended
Partition 3 does not end on cylinder boundary.
/dev/sda5 18785 18866 658633+ 82 Linux swap / Solaris
/dev/sda6 17042 17738 5598589+ 83 Linux
/dev/sda7 17739 18784 8401963+ 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 319.4 GB, 319370035200 bytes
255 heads, 63 sectors/track, 38827 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x002e2ec3
Device Boot Start End Blocks Id System
/dev/sdb1 1 38828 311885878+ 7 HPFS/NTFS
linux-c18c:/home/rob #
Why would I manually select which drive to boot from? I thought that if my external drive is attached, it would boot from there (linux) but if it is not attached, it would boot from the internal disk (windows). I have set the bios boot sequence to USB drive first, CD drive second and internal disk third.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
Why not CD drive first second USB drive third internal drive.
I would prefer that because if something went wrong all you have to do is to insert boot able CD in the drive to rescue you're system.
But you're option should work too.
I have set the bios boot sequence to USB drive first, CD drive second and internal disk third.
That will work, but I agree with ronlau suggestion.
So you want to make sure during the installation you install to sdb. You will need to select custom partitioning and I would read carefully during the installation, particularly when it comes to options regarding bootloader installation so you don't install to the master boot record of sda. Yast explains pretty well though.
You have your entire external hard drive formatted for windows (ntfs) which won't work but, you do have an option in Yast to format and be sure to select a Linux filesystem type, reiserfs, ext3 or ext4. Options should be available.
All the responses got me all fired up to proceed but when I booted from an XP CD to run FIXMBR it didn't work - when I re-started the PC I got the same OpenSUSE or Windows XP option. Did I miss something? Should I have used the XP disk manager to delete the linux partition first?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.