How do I boot back into XP?


Recommended Posts

Boot into Linux.

Post the output of the command sudo fdisk -l (that is a lowercase letter "L", not the number one), which will list out all of your partitions.

Also post the contents of your /boot/grub/menu.lst file, which contains your OS choices when you boot your PC.

I assume that you followed the "backup" and "shrink" your partition advice from your earlier thread? If so, then you should have been able to tell Ubuntu to use the unallocated space (I hope you didn't select "use whole drive").

Boot into Linux.

Post the output of the command sudo fdisk -l (that is a lowercase letter "L", not the number one), which will list out all of your partitions.

Also post the contents of your /boot/grub/menu.lst file, which contains your OS choices when you boot your PC.

I assume that you followed the "backup" and "shrink" your partition advice from your earlier thread? If so, then you should have been able to tell Ubuntu to use the unallocated space (I hope you didn't select "use whole drive").

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/hda1   *		   1		7833	62918541	7  HPFS/NTFS
/dev/hda2			7834		9729	15229620   83  Linux

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot	  Start		 End	  Blocks   Id  System
/dev/hdb1   *		   1		9728	78140128+   7  HPFS/NTFS

Edit your /boot/grub/menu.lst file and add

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

Eventhough usually this is added automatically when you install Ubuntu.

It is telling me I am not the owner so I can't save the file.

Type "sudo gedit /boot/grub/menu.lst" (without the quotes), then enter your password, and add the code karma_police gave you. Save the file, restart, if you need to press ESC to get to the menu, and Windows XP will be there.

Also, don't be alarmed when Windows does a file system check, it's normal after repartitioning. It'll show up with a background you would usually see for the login screen, and courier font. However, at the sight of a not-so-calm blue screen, be alarmed :p

When I restarted, the screen was garbled and mentioned 'X'.

I am now using the Live CD.

Can I still use it to edit the file on "14.5 GB Volume: disk" (where Ubuntu is currently installed)? If so, what command do I use, as the one above just shows a blank document.

uh.......

You can access the file, yes, but GRUB has a safe mode. Did it give you a "grub>" prompt, or did it just completely bork?

GRUB is the bootloader, yes? If so, I don't understand your query.

I am using the Live CD now and I basically want to edit that file on partition 2 (that contains the screwed Ubuntu installation) so that I can boot into XP :)

Did you installed something? X don't die if you just try to edit the grub menu.lst

Anyway you can also let X go crazy and just hit ctrl+alt+f2 login and then

sudo nano /boot/grub/menu.lst

If you want to do it from the Live CD I assume that the drive is shown on the desktop ? If this is the case double click it and find the file, then go to the terminal and do

sudo gedit /path/to/the/file

http://www.sorgonet.com/linux/grubrestore/

basically,

1. Boot from a LiveCD like Knoppix, Mepis, or Ubuntu.

2. Open a terminal. Login as root. (Ubuntu users 'sudo')

3. Type 'grub' which makes a GRUB prompt appear.

grub>

4. Type 'find /boot/grub/stage1'. Your output should look something like this (hd1,3). That’s your hard drive/partition. Once you have that info, you can tell grub where your root directory is, and where the MBR should be.

5. Type 'root (hd1,3)' (this is where the last command told you where your root directory is

6. Type 'setup (hd0)' (this sets it back up in the mbr properly)

7. Type 'quit'

I really think that you accidentally deleted XP.
Disk /dev/hda: 80.0 GB, 80026361856 bytes

255 heads, 63 sectors/track, 9729 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/hda1 * 1 7833 62918541 7 HPFS/NTFS

/dev/hda2 7834 9729 15229620 83 Linux

Disk /dev/hdb: 80.0 GB, 80026361856 bytes

255 heads, 63 sectors/track, 9729 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/hdb1 * 1 9728 78140128+ 7 HPFS/NTFS

Nope, he didnt. Though i dont see how editing the grub file will screw X....... musta done something wrong...

Did you installed something? X don't die if you just try to edit the grub menu.lst

Anyway you can also let X go crazy and just hit ctrl+alt+f2 login and then

sudo nano /boot/grub/menu.lst

If you want to do it from the Live CD I assume that the drive is shown on the desktop ? If this is the case double click it and find the file, then go to the terminal and do

sudo gedit /path/to/the/file

Typing CTRL+ALT+any of the Fx gives me a black screen and always has done :(

I see 'disk' on my desktop and inside is that boot folder.

I typed 'sudo gedit disk/boot/grub/menu.lst' into the console and again, it just brought up an empty file :/

Nope, he didnt. Though i dont see how editing the grub file will screw X....... musta done something wrong...

Screwing X had nothing to do with this, I was tying to install the NVIDIA drivers but I'm just going to give up, it's too much effort!

I'm just gonna try and get back into XP then format partition 2 :p

There is no "disk"

sudo gedit /boot/grub/menu.lst

If you play with CTRL+ALT+F1, F2, whatever, you can get back to your X session (GUI) usually somewhere around CTRL+ALT+F6 or there abouts. Each of those are separate logins (with around 6 tty logins being pretty typical), with the last usually your X session.

EDIT:

...

I'm just gonna try and get back into XP then format partition 2 :p

In that case, please also make sure that you boot your XP CD in "recovery console" mode, and do a fixmbr command to have your XP CD reset your MBR back to the Microsoft default (otherwise you will have a non-bootable PC until you do)

ya know, you really should have read the community how-to. I would suggest using the fixmbr command on the XP cd and then, if you so choose, attempting again. Follow the guide here: http://ubuntuguide.org/wiki/Ubuntu_Edgy . You'll find the community is very helpful. Just make sure you follow the directions verbatum and youre set! Theres a bit of a learning curve, but its nothing I havent been able to teach my computer-illiterate girlfriend! :p

ya know, you really should have read the community how-to. I would suggest using the fixmbr command on the XP cd and then, if you so choose, attempting again. Follow the guide here: http://ubuntuguide.org/wiki/Ubuntu_Edgy . You'll find the community is very helpful. Just make sure you follow the directions verbatum and youre set! Theres a bit of a learning curve, but its nothing I havent been able to teach my computer-illiterate girlfriend! :p

ditto, been using linux for years, and my gf just started a few months ago, but it didn't take her too long to catch on. There's still some bash commands she has a problem with (heck, I have some too) but once you start getting the hang of it, it's pretty easy.

ditto, been using linux for years, and my gf just started a few months ago, but it didn't take her too long to catch on. There's still some bash commands she has a problem with (heck, I have some too) but once you start getting the hang of it, it's pretty easy.

'Commands'. I have no time for commands. I want an OS that works without me having to type in commands.

I tried Ubuntu as I heard it was easier to use than other Linux distros but it seems not. It's hard to even upgrade the video drivers! (dont''comment on that, I won't be continuing with Linux so there is no point saying 'it's easy!' lol...

'Commands'. I have no time for commands. I want an OS that works without me having to type in commands.
Ok.

Here is how to get back your Windows MBR.

Put in the XP CD, and boot with it.

Select "recovery console".

Enter the command "fixmbr"

I hope that you don't mind using a "command" to get your Microsoft MBR back. After all, you want an OS that works without commands.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • We check out the SKG PS700 Neck Massager by Steven Parker I was offered the chance to test out the SKG PS700 Neck Massager, and full disclosure, they let me keep it regardless of my findings. Anyway, I jumped at the chance due to my long hours sitting at my desk; I figured it could offer some neck pain relief. What's in the box: SKG PS700-2 Neck Massager Rechargeable Battery (inside massager) Type-C USB cable User Manual Quick Start guide 1-Year Warranty In short, everything you need to get started. According to the official listing, here are the key features: Biomimetic Kneading & High Torque Motor: Designed with innovative biomimetic kneading heads that perfectly simulate the touch of human hands. Powered by a high-torque motor, this massager delivers powerful and precise deep tissue relief to effectively target stiff neck muscles and release built-up tension Soothing Heat & Integrated Sound Relaxation: Experience the ultimate Relaxationation with our dual-action approach. The soothing heat function gently warms your neck, while the built-in sound Relaxation provides calming audio tracks, helping you achieve a state of mindfulness and mental tranquility during your physical massage Cordless Convenience & Travel-Ready & Father's Day Gifts: Crafted for maximum portability and ease of use. Its lightweight, cordless design allows you to enjoy a premium massage anywhere without the hassle of tangled wires-whether you're taking a quick break at your desk or winding down at home Versatile Relief for Home & Office: An essential wellness companion for office workers, gamers, frequent travelers, or anyone looking to integrate mindfulness into their daily routine. It seamlessly fits into your lifestyle, providing instant neck relief whenever and wherever you need it Safe & Premium Materials: Manufactured with high-quality, skin-friendly materials to ensure a safe and comfortable experience without irritation. SKG backs this device with dedicated customer service, making it a thoughtful tech-health gift for family and friends App & Bluetooth Music Control: Connect via Bluetooth to control your massage settings through the dedicated app and enjoy your favorite music during your massage session for a fully customizable and immersive relaxation experience Red Light Warmth Technology: Features advanced red light warmth technology that penetrates deep into neck muscles to enhance blood circulation and provide soothing comfort while relieving muscle tension and stiffness Design With all that out of the way, here are my own findings. SKG does not say what materials are used to make the neck massager. However, on the product website, it mentions "soft-touch silicone" with what looks like PU leather cushioning, with the rest being mostly made up of plastics. On the inside of the massager, there are two "biomimetic kneading heads" that are motorized for the different styles of massage, which are not actually listed at all in the paper user manual, but the standard included modes are: De-stress mode, Mediation mode, Relax mode, Shiatsu mode. The massager looks quite premium and is actually very comfortable to wear. This massager is small and light enough to go anywhere, as it doesn't get in the way of anything, so I was able to use it in the chair while writing this review. Unlike the back massager, SKG does not warn in the user guide not to use it for more than 30 minutes a day (or two 15-minute sessions). However, there is a long laundry list of important safeguards to consider before and during the use of the device, and it is warned that the neck massager is not waterproof. It also includes a 1,400mAh battery with a rated power of 14W and input of 5V, which is the standard for up to USB 3.0 power (although the Amperage is not mentioned at all). SKG does not say how long it takes to charge, but a quick calculation at 2A (if that is what it is) would mean it would take roughly 1.5 hrs to charge from empty. In any case, the light around the button changes from orange to green on a full charge. In addition, it is not possible to use the device while it is charging. On the right of the neck massager is the On/Off and modes button, which also acts as a joystick. You can operate all the modes directly from the power button, as well as the app, which I'll get into a bit later: Push up: Short press to adjust Heat levels On/Off button: long press Mode Switching: Short press (while in operation) ➕ Push left: increase Music volume ➖ push right: decrease Music volume Push down: Short-press to turn Music on or off The massager defaults to De-stress mode, and it is not stated anywhere if the neck massager has overheat protection. This time around, regarding heat, the only detail I could find is that it has "triple action soothing heat." The temperature stages are not listed anywhere in the paper manual, Amazon listing, or official website. The heat levels can be adjusted through the app or directly on the device using the joystick button. Usage There's also the SKG Health app, which makes using the massager far easier than feeling around for the button on the side of your neck. If the app is stopped, you are required to log in with a verification code over email, which I am not too pleased with, as this means it will only work that way for however long SKG decides to support it through said app. However, I was not able to get the app to connect to the OS500, which I have reported back to my contact. Bluetooth appeared to be working on the neck massager as it became available to pair with my phone, but the SKG app failed to discover it. Before I forget, there's also a switch next to the USB charging port to deactivate and activate the Voice Prompt, which, when enabled, audibly tells the user when switching intensities, modes, or connecting to the app and informs when the massages start and are completed. That said, on to my likes and dislikes, which are listed below. What I didn't like Unable to connect the Neck Massager to the app Use through the mobile app relies on continued support from SKG What I liked Can be used without the app Cordless use Light and comfortable to wear Heat is also quite comfortable Where to buy: According to the official website, this has an MSRP of $249.99, but is currently $50 (on Amazon). To sweeten the deal a bit more, there's also an in-page coupon that knocks a further $20 off the price. SKG PS700-2 Neck Massager for $179.99 on Amazon (was $199.99) Apply the in-page $20 off coupon for the final price of $179.99 Just like the back massager, this gets a confused thumbs up (due to the cost). However, I cannot rate it through app usage as it failed to connect. As an Amazon Associate, we earn from qualifying purchases.
    • This Samsung T7 external SSD deal lasts less than a day by Sayan Sen Recently we had covered some nice deals of internal NVMe SSDs which include the 4TB TeamGroup G50 for only $400, the WD_BLACK SN7100 2TB for just $243, as well as the Samsung 990 PRO 1TB for $370. If however you require an external SSD for portability and quick data transfers and have a budget of less than $200 the Samsung T7 1TB model is currently on a limited time deal at just $190, it's lowest price in nearly three months. The deal ends today so you better hurry if you need one (purchase link below). The T7 weighs in at just 72 grams meaning it should be fairly easy to carry around helping in the portability department. Via its USB 3.2 Gen 2 interface the T7 promises sequential read speeds of up to 1050 MB/s and writes of 1000 MB/s. It is also fairly robust with a drop protection of up to 2 meters, though bear in mind that this is not waterproof. For that you will have to choose the rugged T7 Shield. The technical specifications of the Samsung T7 1TB are given in the table below: Specification Value Model Code (1TB) MU-PC1T0T / MU-PC1T0H Interface USB 3.2 Gen 2 (10 Gbps) Dimensions (W × H × D) 85 × 57 × 8 mm Weight 72 g Sequential Read Speed Up to 1,050 MB/s Sequential Write Speed Up to 1,000 MB/s Drop Resistance Up to 2 m (6.6 ft) Encryption AES 256-bit hardware encryption Operating Temperature 0°C to 60°C Non-Operating Temperature -40°C to 85°C Humidity 5% to 95% (non-condensing) Shock Resistance 1,500 G, duration 0.5 ms, 3-axis (non-operating) Vibration Resistance 20–2,000 Hz, 20 G (non-operating) Get it at the link below: Samsung T7 Portable SSD, 1TB External Solid State Drive, MU-PC1T0T/AM, Gray: $189.98 (Sold and Shipped by Amazon US) Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • I just wish they would put more love into Virtual Desktops. There is just so much more they could do.
    • Sounds like you just skimmed over the review, I answer all those questions in it. Although I admit I did not test if DTS works over the headphones, when I get some time I will test this. My personal use case is more speaker-driven (I cover this in the review too).
  • Recent Achievements

    • Dedicated
      Almohandis earned a badge
      Dedicated
    • Dedicated
      JuvenileDelinquent earned a badge
      Dedicated
    • First Post
      DrWankel earned a badge
      First Post
    • Reacting Well
      DrWankel earned a badge
      Reacting Well
    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      505
    2. 2
      +Edouard
      184
    3. 3
      PsYcHoKiLLa
      84
    4. 4
      Michael Scrip
      78
    5. 5
      Steven P.
      76
  • Tell a friend

    Love Neowin? Tell a friend!