See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grub editor needed
#1
Hi;

I need a grub editor. I saw a sudo command that was supposed to do it but gedit was not found.
Editing the grub file didn't work.
Any ideas? I installed Linux Lite specifically for this, to dual boot Between Win10 and XP

Roger
Reply
#2
Editing grub is dangerous, with that in mind the text editor shipped is leafpad. Replace that with any command in the guide using gedit.

Be careful, can render your machine unable to boot.
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
[Image: psCXIcR.png]
Reply
#3
Quote:Editing grub is dangerous
Please explain.

My input here is, that as long as you know what you're doing, it's not dangerous. Before editing the Grub, best is to save a backup copy in case things might turn to the wrong side. Booting up with a live cd/dvd and it's easy to replace the corrupted Grub with the old (back upped) Grub.

Quote:Be careful, can render your machine unable to boot.
This warning makes more sense.

Quote:I need a grub editor. I saw a sudo command that was supposed to do it but gedit was not found.
Editing the grub file didn't work.
Before doing anything stupid, what do you want to edit exactly? What command did you saw? Were did you saw it? Provide us with more info please and, if possible, a link to a website you saw that sudo command.

And beside the above, sudo is a terminal input, not a Grub input. In a terminal when you want to run a command which need root, you type sudo first and then the command you want to run. Sudo has nothing to do with Grub. But first provide us with answers on the above questions .
My laptop:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

I don't need Google, my wife knows everything!

My Linux website
Reply
#4
(04-13-2016, 05:17 AM)nomko link Wrote: [quote author=shaggytwodope]
Editing grub is dangerous
Please explain.

My input here is, that as long as you know what you're doing, it's not dangerous. Before editing the Grub, best is to save a backup copy in case things might turn to the wrong side. Booting up with a live cd/dvd and it's easy to replace the corrupted Grub with the old (back upped) Grub.

Quote:Be careful, can render your machine unable to boot.
This warning makes more sense.
[/quote]


Because you can render a machine unable to boot its dangerous if someone is unable to repair can lead to data loss. Repeating the same warning is never a bad thing. Keep in mind LL user base target is new users.
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
[Image: psCXIcR.png]
Reply
#5
(04-13-2016, 05:23 AM)shaggytwodope link Wrote: Because you can render a machine unable to boot its dangerous if someone is unable to repair can lead to data loss. Repeating the same warning is never a bad thing. Keep in mind LL user base target is new users.

Well....it's not dangerous. It only creates an inconvenient situation where the user is not able to boot it's system. Dangerous are some terminal command lines which can wipe your whole disc including important data/files. Dangerous is crossing a very busy street with your eyes shut.

Data loss while editing Grub? Never heard of that...
My laptop:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

I don't need Google, my wife knows everything!

My Linux website
Reply
#6
(04-13-2016, 11:24 AM)nomko link Wrote: [quote author=shaggytwodope link=topic=2931.msg22608#msg22608 date=1460525026]

Because you can render a machine unable to boot its dangerous if someone is unable to repair can lead to data loss. Repeating the same warning is never a bad thing. Keep in mind LL user base target is new users.

Well....it's not dangerous. It only creates an inconvenient situation where the user is not able to boot it's system. Dangerous are some terminal command lines which can wipe your whole disc including important data/files. Dangerous is crossing a very busy street with your eyes shut.

Data loss while editing Grub? Never heard of that...
[/quote]
Bit offended your not reading what I typed. If a user is unable to boot = loss of data. You can freely google for instances of people unable to boot after editing grub. And naturally being forced to reinstall. There are means to get said data, but that ignores point #1 here... new users unaware of how to do so. Doing anything be it grub or your taxes without the proper knowledge can be a dangerous thing. One can never assume everyone knows what you know, thats terrible way to view things. "Elistism" and such are best avoided on LL. Further more.. dangerous is an apt word for this case, meaning: Being able or likely to do harm. It correctly discribes the possiblity of an issue. Not openingly stating it will be an issue.. rather just possible. Maybe you define the word differently mate?
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
[Image: psCXIcR.png]
Reply
#7
Not been able to boot does not mean loss of data. Your data is still there, reachable with a live cd/dvd or bootable usb. Not booting means that there is something wrong in the boot procedure preventing the operating system to boot properly.

But i'm not interested in the discussion we're having, i'm more interested in the answers rogeerh comes up with on my questions in this post which is more relevant.

Too summarize them:
1) What do you want to edit exactly?
2) What command did you saw?
3) Were did you saw it (link)?
My laptop:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

I don't need Google, my wife knows everything!

My Linux website
Reply
#8
(04-13-2016, 12:27 PM)nomko link Wrote: Not been able to boot does not mean loss of data. Your data is still there, reachable with a live cd/dvd or bootable usb. Not booting means that there is something wrong in the boot procedure preventing the operating system to boot properly.

I never claimed that was the case. It takes a bit of knowledge to be able to do this. And not all users may be able to do so. Your trying to enlighten the wrong person here. Keep in mind the target user base for LL. And stop filling things in with your personal views. "I can do this, thus everyone else can" is elitism crap that does not belong here.
The Truth is out there.
Be sure to check the Manual out and always report Bugs or feature requests.
[Image: psCXIcR.png]
Reply
#9
Grub Customizer is a GUI grub editor for Newbies and works in Ubuntu besides other distros using grub2 bootloader.

https://launchpad.net/~danielrichter2007...customizer

I am just answering the title of the thread.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Reply
#10
Not trying to stoke any fires, and this will relate to the OP..
Grub is a system file modifying any system file can have ill effects if not executed properly... Think of it similarly to the Registry in Windows, one can delete keys and modify, and sure enough you can corrupt the OS...
Roger know your own comfort level and the terminal...

I'm assuming your fairly new to LL/Computing by some of the phrases used (this is by no means a negative)...
I ask and along Nomko's questions why do you need to modify?

LL and its grub are designed for multi-boot environments... If you have Win10 and XP already installed, installing LL lastly grub should find your OS's and work without problem...

Now with that.. Is Win10 using UEFI? If so there will be modifications to the install...

Maybe a bit more clarification as to why/what troubles you're having...

And as rokytnji suggested, for an editor...

Oh and Welcome aboard  8)
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)