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
I'm Rohit Sood, and I'm sharing my insights, work and opinions to think through my own battle-tested insights as well as untested hypothesis. I want to hear from you. IT Leaders and technologists are navigating the complex landscape of enterprise technology. My goal is to cut through the noise and deliver actionable knowledge grounded in my experiences as a tech startup co-founder and a veteran of major corporations. All opinions are my own.
Subscribe to:
Posts (Atom)
The Human-AI Partnership: Why Mastering Touch Typing is Your Next Generative AI Superpower
Generative AI requires humans to establish thought partnership rather than allow AI to take over critical thinking skills. I believe that ty...
-
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...
-
NO SQL is basically a highly scalable disruptive data storage technology. The basic downsides included proprietary APIs (no standard SQL), e...