You are not logged in.
Pages: 1
Hello all
I've looked on a command to set the bootable flag on Linux. I've found out that fdisk would TOGGLE the boot flag only. What about if I liked to set a partition as bootable?? Specially that I've had some issues with G-parted not running so that I could make my partition bootable?
Thanks
Offline
Hi neru,
What a problem? If it cleared - TOGGLE it, and it will set. If it is already set - just don't touch it. Really, I'm not in my Linux now, and have no any terminal in my smartphone, sorry if I can't understand your problem.
Hope, it helps you:
http://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-boot-flag-on-usb-through-the-terminal-717280/
They wrote that Linux bootloader not look at boot flag at all.
Offline
Open terminal,su,password:root
Type in terminal:
[c]gparted[/c]
Hit enter key
Post the output/errors if gparted doesn't start.
Offline
Probably the Language error again. Try running it as LANG=C gparted from the terminal as root and see if that helps.
Offline
if gparted is broken, try parted:
[c]$ parted -l[/c]
lists partition layout on all devices
and to set the boot flag on:
[c]# parted /dev/sda1 set 1 boot on[/c]
for the first partition on /dev/sda1
[c]# parted /dev/hda1 set 2 boot on[/c]
for the second partition on /dev/hda1
Offline
Thanks for your help and advices.
In fact there might be some kind of hardware problems since I've encountered many errors messages like "no bootable partition" before that were resolved...even if it isn't obvious for you, I'm quite sure that it's specific to Slitaz 4 Core that I'm running and my hard disk.
Once I run G-Parted, it goes a little for a devices scan then shutdown.
Also run from terminal...
While I don't have any problems with Slitaz 3 (but I'm encountering Wifi problems
)
Offline
um,
Did a format and reinstalled windows XP, then Slitaz 4. Guess what G-parted again functionnal.
Oh and happy holidays!
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]