Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 4446  / 1 Year ago, tue, december 27, 2022, 9:41:46

I have recently installed Xubuntu 12.04 alongside Windows XP. My parents don't use Xubuntu, so I configured the GRUB file as written in some articles. I changed:



GRUB_DEFAULT= 4 #Assuming Windows is the fifth menu entry
GRUB_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT=0


Now whenever I press and hold the Shift key it says GRUB loading, but does not show GRUB and boots directly into XP. How can I access grub.cfg to change the settings so I'll have correct settings?


More From » 12.04

 Answers
0

You should be able to boot from the xubuntu CD in live CD mode - then you can mount the / or /boot file system and make the changes you need to make.



Alternately you can boot the system rescue CD (http://www.sysresccd.org/) and do the same.



The tricky part of this is working out which disk partition has /boot on it.



Once you have started xubuntu in Live CD mode open a terminal and use sudo to get a root shell. Alternately, boot the system rescue CD and it will drop you in a root shell.



Then look in /dev for files like sda1 sda2 sdb1 etc.



Try mounting each in turn:



# mount /dev/sd1 /mnt
# ls /mnt
# umount /mnt


If mount gives an error, ignore that partition. If ls /mnt shows a directory called boot, then look in there for the files you have to change to reconfigure grub.


[#29856] Tuesday, December 27, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
breadoules

Total Points: 212
Total Questions: 118
Total Answers: 120

Location: Dominica
Member since Mon, Jun 22, 2020
4 Years ago
;