LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 04-18-2006, 02:00 PM   #1
yrs7
LQ Newbie
 
Registered: Apr 2006
Distribution: OpenSUSE, Debian, RedHat, FreeBSD
Posts: 6

Rep: Reputation: 0
unable to uninstall Mandriva Linux in hp laptop w/ Toshiba MK6021GAS HD


Hi, I installed Mandriva linux in my laptop HD. I want to unstall it and then install winxp first and then the linux. However, I am having troubles unstalling ths linux. The following is what I did.

(1) use mandriva linux CD to enter the rescue mode.
(2) type: fdisk /dev/hda
(3) type: d; type: 6; type: d; type: 5; type: d; type: 2;
type: d; type: 1; type w
(4) put in winxp CD and reboot the laptop

After rebooting, the computer still entered the original linux OS, and froze there. Any ideas to help me unstall the linux? Thank you!
 
Old 04-18-2006, 03:38 PM   #2
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
hi!

i suppose the problem you are facing is that... you formatted the harddisk but the bootlader (LILO, the Mandriva default) is still located in the MBR (Master Boot Record) Formatting with Mandriva may not remove this... i had some problems with formatting MBR with Mandrake 10... maybe its fixed now... i dont know..

but why doesnt your machine search the cdrom for the windows cd and boot from it... that would suggest that your BIOS is not set to check from cd before hardrive while booting... you should change this... and set the boot order to check the cdrom first and then the harddrive... then using the windows disk formatting and partitioning tools delete all partition tables and start afresh... creating your windows partition ... leaving enough space for your Mandriva installation... yes, i know the windows tools look like they were written written in the early stone age compared to Mandriva :-P

dont tell windows to take over the whole harddrive... create a partition of the size you want... and tell it to install there... this is because windows does write to the hardisk like a 2 yr old eating... ie very messy... Mandriva can only resize NTFS partitions to the last point on the existing partition that windows has written to... so lets say windows ignores the whole harddisk and writes to a point on the hardisk 10mb before the end... Mandriva will only be able to reduce the size that partition by 10mb... its happened to me ...

then after installing windows you can install Mandriva using the unpartitioned space in the rest of your hardrive...

a tip... you will most likely have to reinstall windows before you have to reinstall Mandriva... then you will run into the same problem... my solution when i used to dual boot was to install Mandriva's bootloader to a floppy disk... this you can choose at the end of the Mandriva installation... when it gets to the installation summary... where you can setup up monitor, language, network, etc,... and the last one i think should be bootloader.. tell it to install to fd0... pop in your floppy... and that should be done... then you should also change your BIOS settings so that it looks to boot from your floppy drive before your harddrive...

then when u want windows just boot normally... when you want Mandriva pop in the floppy to which you installed the bootloader... and thats it.. u have mandriva... reinstalling windows wont take you into bootloader problems...

hope i helped... ask if you need more clarification... if i can i will be glad to help...

lib.
 
1 members found this post helpful.
Old 04-18-2006, 06:08 PM   #3
phazon
Member
 
Registered: Apr 2006
Location: Wilmington, DE
Distribution: SolydXK, Knoppix
Posts: 131

Rep: Reputation: 18
I don't have much experience with linux formatting other the handy tool that Kubuntu gives a the beginning of the install cycle...BUT....I have gotten stuck with a partition on a hard drive after XP crashed. I could not get rid of it using the XP install CD (although you would guess that you could). What I discovered is that by using an old win 98 boot floppy, I can use the fdisk tool to totally wipe that sucker! Even if it formats is fat32, I can still blow that out with the Kubuntu formatting phase and re-format as ext3 (or what ever linux uses).

Try it! If you have a crapped up hard drive, you don't have much to loose.

Once you are back in the XP install mode after booting from CD (after telling your bios to boot form CD first) you can create partitions... DO create partitions. I recommend running you r XP operating system on a 6-gig partition, and then create a partition for your valuable files and another partition for your linux fun and games. After awhile you may just get rid of XP altogether and use all partition s for linux stuff. With this arrangement, if XP craps up, you should be able to re-format the 6-gig partition it was on without touching any of your valuable files, your linux partition. It would be even better to have 2 hard drives. I just got a 10 gig for my desktop computer that I am going to put XP on by itself (until it learns to play nice with others). I still maintain a 30 gig with all my valuables. I am running my laptop with one hard drive a 6-gig partition, a 44-gig partition and a 10 gig for linux stuff.

Cheers
 
1 members found this post helpful.
Old 04-19-2006, 02:25 AM   #4
igu
Member
 
Registered: Jan 2003
Distribution: Fedora, Gentoo, SUSE, Mandriva
Posts: 127

Rep: Reputation: 15
Quote:
Originally Posted by librano
Mandriva can only resize NTFS partitions to the last point on the existing partition that windows has written to... so lets say windows ignores the whole harddisk and writes to a point on the hardisk 10mb before the end... Mandriva will only be able to reduce the size that partition by 10mb... its happened to me ...
That must have been years ago, or you used an old Mandriva. Mandriva uses ntfsresize which can resize to anything without data loss, safely moving around whatever is needed. This is true since the beginning of 2004, but indeed not beforehand http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html
 
Old 04-20-2006, 03:06 AM   #5
yrs7
LQ Newbie
 
Registered: Apr 2006
Distribution: OpenSUSE, Debian, RedHat, FreeBSD
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for you guys help. I posted my reply yesterday, but something was wrong, so I will post what I ahve now. I used win98 Dos boot disk and do: fdisk \mbr. I set my boot order to be CD-Rom, Floopy Disk, and then HD. Finally, I reboot the laptop and got a msg saying no operating system found.

The next thing I did was use my winxp CD to install the OS. But, the CD was not read. However, my laptop can still read other Linux CD's and win98 boot disk. Please help.
 
Old 04-20-2006, 05:15 PM   #6
phazon
Member
 
Registered: Apr 2006
Location: Wilmington, DE
Distribution: SolydXK, Knoppix
Posts: 131

Rep: Reputation: 18
The cd was not read? Hmmm, never had that happen. fingers prints?
 
Old 04-20-2006, 10:03 PM   #7
yrs7
LQ Newbie
 
Registered: Apr 2006
Distribution: OpenSUSE, Debian, RedHat, FreeBSD
Posts: 6

Original Poster
Rep: Reputation: 0
lol I cleaned my winxp CD, so no finger prints. I also tried to install windows under Dos mode and the following combination to fix my problem...
(1) win98 boot floppy + winXP CD => booted from floppy, changed to E: drive, but can't install winXP under Dos mode
(2) winXP boot floppy + winXP CD => booted from floppy, but since cannot change to E: drive, I cannot install winXP
(3) Win98 boot floppy + winXP CD => booted from floppy, changed to E: drive. However, after I typed: setup to run the windows installer , I got the following msg and then froze:
scanning system registry...
Windows Setup requires

It's weird to see "Window Setup requires" after I ran the installer.
 
Old 04-21-2006, 12:53 PM   #8
phazon
Member
 
Registered: Apr 2006
Location: Wilmington, DE
Distribution: SolydXK, Knoppix
Posts: 131

Rep: Reputation: 18
Well, I hope yo are like me and this is a project that you can fool around with and not your main machine. I have never not been able to install from the XP CD. If your bios is looking for a boot record from the CD first, then it should just fire right up. Without knowing anything else. I recently had a bad hard drive, so I almost want to suspect that , but since the computer itself won't boot from the CD, maybe you need another CD. I had to go through a couple of those before I got a good one too. You can go to a hack site and download the iso of the xp setup CD, and as long as you still have a legal registration # number at home, you can burn the image to disk and install from that.

Sometimes these local computer shops have spare Cd' s that they will give you.. It's no skin off their teeth since they are not providing you with an illegal reg #. I have only one copy of a good install for XP, but I have since purchased extra REG #'s for other machines. (then I started getting interested in Linux....!)
 
1 members found this post helpful.
Old 04-23-2006, 06:19 PM   #9
lotusjps46
Member
 
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
I am sure you have thought of this, but the CDROM drive may be flakey. That happened to me on a real old computer. The problem was intermittant, so it was hard to figure out. Borrowing a CDROM drive from another machine to do the install worked.

Good luck.

C
 
Old 04-24-2006, 03:25 AM   #10
yrs7
LQ Newbie
 
Registered: Apr 2006
Distribution: OpenSUSE, Debian, RedHat, FreeBSD
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for all your help. I did find out that my XP CD does not always boot in my laptop. However, it booted every time in my desktops.

Anyway, after reading phazon's response, I tried a win2000 CD, and it booted!! Problem solved! Yeah!
 
Old 04-24-2006, 03:58 PM   #11
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
Quote:
Originally Posted by igu
That must have been years ago, or you used an old Mandriva. Mandriva uses ntfsresize which can resize to anything without data loss, safely moving around whatever is needed. This is true since the beginning of 2004, but indeed not beforehand http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html
you are most probably right... unlike windows... linux does advance... and i havent had windows on my machine since july 2004...
 
  


Reply

Tags
mandriva, uninstall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound problems Mandriva 2006 Ali5xxx(ALSA) On old toshiba laptop jmsiu Mandriva 4 10-14-2005 01:29 PM
Sound on Toshiba Laptop and Mandriva spondootre Linux - Newbie 1 06-21-2005 01:41 PM
linux on toshiba laptop simeandrews Linux - General 4 06-16-2005 04:41 PM
Unable to boot LiveCDs on Toshiba 1900 laptop Lifter Linux - Laptop and Netbook 0 11-17-2004 03:37 PM


All times are GMT -5. The time now is 10:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration