Cannot boot to original OS from HDD

Post here if you are a new Porteus member and you're looking for some help.
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
Moderator Team
Moderator Team
Posts: 5667
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
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Cannot boot to original OS from HDD

Post#3 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
Contributor
Contributor
Posts: 8359
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Cannot boot to original OS from HDD

Post#4 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: 676
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Cannot boot to original OS from HDD

Post#5 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
You have mind and feelings. Be wise and clever.

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

Re: Cannot boot to original OS from HDD

Post#6 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: 676
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Cannot boot to original OS from HDD

Post#7 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.
You have mind and feelings. Be wise and clever.

Post Reply