Issue: I needed to reinstall Windows XP on a dual-boot machine. No new partitions were needed, there were 2 O/S partitions - one with XP and the other with Ubuntu. After reinstalling Windows - the machine would simply boot into Windows XP (no dual-boot menu)
Solution: Boot from Ubuntu LiveCD - choose to demo. Then open terminal.
rohit@rs-dimension:~$ sudo -i
[sudo] password for rohit:
root@rs-dimension:~# grub
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> find /boot/grub/stage1
(hd0,4)
grub> root (hd0,4)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,4)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
This setup grub in hd0 on my system - bringing back the boot menu. Simple
Hi! I'm Rohit Sood, a LLL :-) Life Long Learner. I've been a tech co-founder CTO, Chief IT Architect, Technologist, and Software Engineer and I cut through the noise and deliver actionable results. My blogs are a collection of insights and opinions - my own battle-tested insights as well as untested hypothesis: Cloud, AI, cybersecurity, system design, people, process, leadership and introspection . All opinions are my own.
Subscribe to:
Post Comments (Atom)
Is WSJF "better" than traditional ROI calculations for Applications?
I love road trips, and i like analogy. The Premise: Two couples are planning a road trip. The "Perfection" group: This group spe...

-
I think a utility tree is a visualization of quality attribute exposures for a given architecture, however it can get pretty cumbersome and...
-
COTS, FOSS or FOSS+Support. Which one should you choose. The answer: it depends. (Surprise) Just because various software vendors don...
Where do I start to learn all of this? I can't even figure out why I'm missing PRO.MSI or an XP NTSF) disk won't boot due to missing "net.dlr". thanks
ReplyDelete