Cannot boot to original OS from HDD

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
helmut
White ninja
White ninja
Posts: 12
Joined: 26 Dec 2013, 19:57
Distribution: Kubuntu, Porteus KDE 2.1
Location: Slovakia

Cannot boot to original OS from HDD

Post#1 by helmut » 26 Dec 2013, 23:03

After creating the boot USB with Porteus I might have carelessly applied Porteus Installer for Windows on the actual HDD with Win 7 OS.

So when I want to boot from HDD I get syslinux message 'SYSLINUX 4.06 EDD ...' with 'boot failure : No DEFAULT or UI configuration directive found!' and prompt starting with 'boot: '.

Is it possible to do something to revert this and restore it back to windows boot loader?

Thanks

User avatar
fanthom
Site Admin
Site Admin
Posts: 5303
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Cannot boot to original OS from HDD

Post#2 by fanthom » 27 Dec 2013, 00:19

you will have to boot Win 7 disc and follow advices from this thread:
click
Please add [Solved] to your thread title if the solution was found.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: Cannot boot to original OS from HDD

Post#3 by phhpro » 27 Dec 2013, 03:05

...
Last edited by phhpro on 03 Feb 2016, 23:23, edited 1 time in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6104
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Re: Cannot boot to original OS from HDD

Post#4 by brokenman » 27 Dec 2013, 12:50

Regarding url tag ... dunno. Something weird indeed. URL's under 55 characters don't need the url tag. It prevents the magic shortening of a URL but for some reason doesn't work on this short url. I removed the tag and the link works. Will look into why it didnt with the url tag. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Moderator
Moderator
Posts: 5639
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Re: Cannot boot to original OS from HDD

Post#5 by Ed_P » 27 Dec 2013, 18:17

I think I recall this problem on a link awhile back, the solution was to remove the "/" at the end of the URL The URL works fine with or without the "/" at the end but the url tags function doesn't like it.

hth
Ed

tome
Contributor
Contributor
Posts: 634
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Cannot boot to original OS from HDD

Post#6 by tome » 27 Dec 2013, 21:24

maybe you need only set bootable flag on proper partition e.g. sda3
eventually connect your pendrive and modify syslinux (add grub legacy) and set for grub's menu.lst these lines

Code: Select all

title BOOTMGR of Windows VISTA/WIN7/WIN2008
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
more about dual booting:
http://forum.porteus.org/viewtopic.php?f=81&t=2808
No intelligence, no life, no information and no love can exist without prior intelligence, life, information or love. You won't find nonexistent thing/idea.

User avatar
phhpro
Full of knowledge
Full of knowledge
Posts: 543
Joined: 10 Nov 2013, 20:35
Distribution: .

Re: Cannot boot to original OS from HDD

Post#7 by phhpro » 28 Dec 2013, 01:22

...

oneheart
Ronin
Ronin
Posts: 1
Joined: 30 Oct 2016, 11:05
Distribution: Porteus
Location: Prague

Re: Cannot boot to original OS from HDD

Post#8 by oneheart » 30 Oct 2016, 11:07

Hello, guys, have the same problem. Could you, please, specify, how to repair boot flag to right partition?

tome
Contributor
Contributor
Posts: 634
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Cannot boot to original OS from HDD

Post#9 by tome » 30 Oct 2016, 18:45

Could you, please, specify, how to repair boot flag to right partition?
On Linux open terminal as root or switch to root (su command) and execute

Code: Select all

parted /dev/sdxY set 1 boot on
or set boot flag via fdisk, cfdisk or graphical gparted.
On Windows there are somewhere Administrative Tools and submenu Disks (I don't remember name) - here you can set active flag on chosen partition.
No intelligence, no life, no information and no love can exist without prior intelligence, life, information or love. You won't find nonexistent thing/idea.

Post Reply