Results 1 to 4 of 4
I am trying to restore the MBR, have successfully put supergrubdisk on to a USB stick.
When booting, I get into the program but also the following error returned:
Booting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-14-2009 #1Just Joined!
- Join Date
- Jul 2008
- Posts
- 6
Grub / supergrubdisk
I am trying to restore the MBR, have successfully put supergrubdisk on to a USB stick.
When booting, I get into the program but also the following error returned:
Booting command list
Usbshift
Error 12: invalid device request
Press any key to configure
So I press the any key, and this is the configuration:
grub edit> configfile (hd0,0)/boot/sgd/sgd.lst
I have 1 HDD, partitioned in 2 OS (XP & 98 )
Do I need to change something in the configuration file?
- 11-15-2009 #2
can you past the content of sgd.lst here please ?
(this might help !)
- 11-15-2009 #3Just Joined!
- Join Date
- Jul 2008
- Posts
- 6
Sorry! here it is.
default 1
#timeout 10
setgrubdevice # This is compulsory
sgdgfxmenuoff
#gfxmenu /boot/grub/message
foreground ffffff
background 0c00ff
color white/brown yellow/cyan
title <========= DISTRO |||||||
# The two commands: setgrubdevice and usbshift are needed
# so that SGD works well.
configfile $(grub_device)/boot/grub/menu.lst
title Choose Language & HELP
))
# The two commands: setgrubdevice and usbshift are needed
# so that SGD works well.
usbshift
set SGD_VERBOSE="on"
configfile $(grub_device)/boot/sgd/menu.lst
title Choose Language & NO HELP
# The two commands: setgrubdevice and usbshift are needed
# so that SGD works well.
usbshift
set SGD_VERBOSE="off"
configfile $(grub_device)/boot/sgd/menu.lst
title vvvvvvvvvvv Quick Menu HELP vvvvvvvvvvvvvvvvvv
# The two commands: setgrubdevice and usbshift are needed
# so that SGD works well.
usbshift
set SGD_VERBOSE="on"
catis $(SGD_VERBOSE)
cat $(grub_device)/boot/sgd/qhelp.txt
pause
title GRUB => MBR & !LINUX! (1) AUTO
findf /grub/stage1 /boot/grub/stage1
root $(out_device)
setup (hd0)
findf /boot/grub/menu.lst /grub/menu.lst /boot/grub/grub.conf /grub/grub.conf
root $(out_device)
configfile $(out_device)$(out_file)
title GRUB => MBR & !LINUX! (>=2) MANUAL |
selectfile /grub/stage1 /boot/grub/stage1
root $(out_device)
setup (hd0)
selectfile /boot/grub/menu.lst /grub/menu.lst /boot/grub/grub.conf /grub/grub.conf
root $(out_device)
configfile $(out_device)$(out_file)
title !LINUX! (1) AUTO
findf /boot/grub/menu.lst /grub/menu.lst /boot/grub/grub.conf /grub/grub.conf
root $(out_device)
configfile $(out_device)$(out_file)
title !LINUX! (>=2) MANUAL
selectfile /boot/grub/menu.lst /grub/menu.lst /boot/grub/grub.conf /grub/grub.conf
root $(out_device)
configfile $(out_device)$(out_file)
title (ROOT) !LINUX! (>=2) MANUAL
set choose_title="Root filesystem"
selectfile /etc/fstab
fstabroot $(out_part)$(out_file)
set root_fs=$(fstabroot)
set choose_title="Choose Linux kernel (vmlinuz, genkernel, kernel, linux...)"
selectfile /boot/v /boot/k /boot/g /boot/l /v /k /g /l
set kernel_device=$(out_device)
set kernel_file=$(out_file)
set choose_title="Choose initrd"
selectfile /boot/i /i
# set initrd_device=$(out_device)
# set initrd_file=$(out_file)
root $(kernel_device)
kernel $(kernel_file) root=$(root_fs) single
initrd $(out_device)$(out_file)
boot
title !WIN!
rootnoverify (hd0,0)
chainloader +1
boot
title WIN => MBR & !WIN!
set aux_hd="hd0"
# dd SOURCE_FILE DESTINATION_DEVICE FILE_OFFSET DEVICE_OFFSET SIZE
dd $(grub_device)/boot/sgd/brs/syslinux.bin ($(aux_hd)) 0 0 300
dd $(grub_device)/boot/sgd/brs/syslinux.bin ($(aux_hd)) 0x1fe 0x1fe 2
rootnoverify (hd0,0)
makeactive
chainloader +1
boot
title EASY LIVE SWAP
map (hd0) (hd1)
map (hd1) (hd0)
liveswap
- 11-15-2009 #4Just Joined!
- Join Date
- Jul 2008
- Posts
- 6
Gave up with that, but if anyone is interested this is what I did:
Got external 3.5" floppy.
Made XP boot disk from a colleague.
Fdisk would not work with that version of dos
Accessed hidden partition that had Win98 on.
Ran program called xtgold.com,
This was some sort of file explorer,
Went to Boot Magic file, and found a file called RestrMBR, ran it from there (pushed 'x' I think to execute it.
Restart computer, straight into XP flash screen.
XP scandisk (or similar) utility took 30 mins sorting out files, than rebooted straight into XP.
I have lost the ability to run Win98 partition, but I only need it occasionally so will put it on a USB key!

Will be getting another laptop, for my 'playing' with. Leave the work one alone!


Reply With Quote
