LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 04-07-2019, 04:32 PM   #1
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Rep: Reputation: Disabled
how to install bodhi 5 on a computer with only a cd reader (max 700 mo)


hello i am french and first of all i want to apologize for my bad english..

i have installed bodhi 3 on an old computer and it runs good and much faster than with windows vista
i use this computer connected to my tv to read for instance youtube, dailymotion..
the problem is when i use onboard to choose screen definition, i have only one choice which allows to have the picture in the middle of the tv screen (although my tv is rather new : 3 years) and with this resolution the picture is a little too stretched (too large and not high enough)

i tell me it is probably because i use bodhi 3 and i think that if i could have bodhi 4 or 5, i could have a larger choice and have a resolution which allows a picture not strectched

but i cannot put neither bodhi 4 or bodhi 5 on my computer : it doesn't read dvd but only cd, and, although my usb key is recognized in the bios the computer doesn't want to boot on it...and bodhi 4 and 5 are too heavy (heavier than 700 mo for a cd...)

has somebody an advice to help me please ? (i am a beginner with linux)
is there for instance a solution to download a lighter version of bodhi 4 or 5 and add later components ?
a mean to install bodhi 4 or 5 directly from the net ?
or a mean to make my computer boot on the usb key ?

in advance thank you for your advices
 
Old 04-07-2019, 07:14 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,471

Rep: Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728
You should be able to copy a bodhi iso file to a usb/flash drive and then put an entry in the /boot/grub/grub.cfg menu to boot the iso directly. You would need to have either unallocated space outside your current bodhi or a partition with a Linux filesystem to install FROM the flash TO the partition on your hard drive. If it is successful, you will have both versions of bodhi and if you want to move personal data from the old bodhi to the new, you can do that and then format the old bodhi partition and use it for data. A sample entry for booting the bodhi iso below.

Quote:
menuentry "bodhi-2.4.0" {
loopback loop (hd1,1)/bodhi-2.4.0-32.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/bodhi-2.4.0-32.iso quiet splash --
initrd (loop)/casper/initrd.gz
}
You will need to make changes, specifically the loopback loop line will need the correct drive/partition and the exact name and location of the new iso file. In the example above, it is in the / (root) directory of the filesystem. The (hd1,0) indicates it is on the second physical drive, first partition. Do the same on the linux (loop) line. You can put this entry in the current grub.cfg file. If you do that, do NOT update grub. Once installed you can simply delete this menuentry from grub.cfg. If you have problems, make a point to make detailed notes to post back. Two things you might check beforehand would be to verify the name of the 'vmlinuz' file and the 'initrd' file by loop mounting the iso.

You could also boot the bodhi iso from the / partition of your current install without the need for a usb drive. Same process.

Last edited by yancek; 04-08-2019 at 06:44 PM.
 
2 members found this post helpful.
Old 04-07-2019, 07:15 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,471

Rep: Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728
duplicate post deleted.

Last edited by yancek; 04-08-2019 at 02:22 PM.
 
Old 04-07-2019, 07:25 PM   #4
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5 & debian 9.8 LXDE
Posts: 566

Rep: Reputation: 248Reputation: 248Reputation: 248
your info was so good you had to say it twice. just kidding. it just seems like this is what my whole day has been like....heh heh heh
 
1 members found this post helpful.
Old 04-07-2019, 07:28 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,321

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I second what yancek said- a great solution- thats what I use to boot many distros off my hard drive and usb.

If your computer will not boot off usb try Plop boot manager- it doesnt install anything but it can boot usb's on computers without bios support for usb.
https://www.plop.at/en/bootmanager/download.html

All my live distros I include it in /boot folder its great.

Being that it would be hard installing bodhi 4/5 off your hard drive to same partition I would try usb or make a smaller partition in hard drive for bohdi iso to boot from to install to where bohdi 3 is now. You can do install to same partition but only manually.

Have you tried other disros on that computer to see if they work?
 
Old 04-07-2019, 07:39 PM   #6
RonCam
Member
 
Registered: Dec 2008
Posts: 111

Rep: Reputation: 47
Lightbulb

Quote:
Originally Posted by jmmslbc View Post
... i use onboard to choose screen definition [resolution], i have only one choice which allows to have the picture in the middle of the tv screen
Not sure what 'onboard' is, but see if xrandr gives more control of resolution than does this other utility(?). It's built-into the operating system ... in terminal, do this:
Code:
xrandr --help
to see all the options it offers.
 
1 members found this post helpful.
Old 04-08-2019, 09:16 AM   #7
RonCam
Member
 
Registered: Dec 2008
Posts: 111

Rep: Reputation: 47
Unhappy Your existing internal CD-ROM drive will not be useful ...

Quote:
Originally Posted by jmmslbc View Post
... how to install bodhi 5 on a computer with only a cd reader (max 700 mo)
You've probably figured this out by now, but -- unlike its older versions -- Bodhi v5 no longer fits on a 700Mb CD-ROM disk. Jeff said this is not Bodhi's fault at all, but because of the ever-expanding size of Ubuntu. The only way to boot from a optical disk is to record the Bodhi .iso onto a DVD, to accommodate the 'overflow'. But, you said your computer's optical drive can't read this type of disc.

My netbook has no optical drive at all, but the Bodhi .iso loads just fine from a DVD in an external USB CD-DVD/ROM drive. These may be obtained quite inexpensively by mail order ($10-12 ?) and have many other uses. If you have a desktop system that records DVDs you can save by not trying to duplicate this functionality in the USB drive you get for use with this computer.

Otherwise, your remaining option is to ignore your internal optical drive and boot from a flash drive, or perhaps from an SD card. These options were discussed by other posters, earlier in this thread.
 
1 members found this post helpful.
Old 04-08-2019, 09:33 AM   #8
RonCam
Member
 
Registered: Dec 2008
Posts: 111

Rep: Reputation: 47
Lightbulb Try configuring BIOS settings, to allow this ...

Quote:
Originally Posted by jmmslbc View Post
has somebody an advice to help me please ? (i am a beginner with linux)
is there for instance a solution to download a lighter version of bodhi 4 or 5 and add later components ?
a mean to install bodhi 4 or 5 directly from the net ?
or a means to make my computer boot on the usb key ?

in advance thank you for your advices
I have no knowledge of doing a network installation for Bodhi (anyone else, please 'chime in'?) but it may be possible to get your computer to boot from USB (could be an USB optical drive, or flash drive, or SD card) by looking at the solutions you will find in this link. Exactly which one will work depends on exactly what hardware you have. But it is likely that one will do what you want. Since you have an older computer, you will be searching for solutions applicable to 'BIOS settings'.
 
1 members found this post helpful.
Old 04-08-2019, 09:44 AM   #9
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
Quote:
Originally Posted by yancek View Post
You should be able to copy a bodhi iso file to a usb/flash drive and then put an entry in the /boot/grub/grub.cfg menu to boot the iso directly.
would this be a dd or etcher (or equivalent program) write so that the iso is viable as a live disk or does a straight copy and paste work?
 
Old 04-08-2019, 10:51 AM   #10
RonCam
Member
 
Registered: Dec 2008
Posts: 111

Rep: Reputation: 47
That can be a little tricky, it seems. I usually burn to an optical disc because it always works. Also, I can write on the disc so I know what it contains, and which version it has.

I see the latest version of USB Universal Installer claims it will work with 'your favorite distro'. I have not tried it with Bodhi, however.

Maybe yancek has other ways?
 
1 members found this post helpful.
Old 04-08-2019, 02:32 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,471

Rep: Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728
Quote:
would this be a dd or etcher (or equivalent program) write so that the iso is viable as a live disk or does a straight copy and paste work?
Neither. You download the iso file and put a loopback entry in your Grub2 menu, grub.cfg file as explained above. You copy the iso directly to the location you want, no changes made to it. I've had better success booting from the / of the filesystem partition, whether from the OS booting with Grub or on another hard drive or usb/flash drive. If you leave the downloaded iso in your default location such as the /home/user/Downloads directory, it might boot and it might not, Depends on the OS and I'm not sure about Bodhi.

Booting an iso directly from Grub2 has been possible for years with some distros. If you do an online search, you should find a number of sites, a lot of which will be regarding Ubuntu. The link below for example, looks a bit dated but still good information.

https://help.ubuntu.com/community/Grub2/ISOBoot

Last edited by yancek; 04-08-2019 at 02:39 PM.
 
1 members found this post helpful.
Old 04-08-2019, 04:59 PM   #12
jmmslbc
LQ Newbie
 
Registered: Mar 2019
Posts: 28

Original Poster
Rep: Reputation: Disabled
thank you to all of you for your advices
i will translate all that in french and try to understand what you explained (at the first reading i don't understand all because of my limited english and also, and above all, because i am a beginner with linux)
i'll try all the solutions i will understand
back soon
 
1 members found this post helpful.
Old 04-08-2019, 06:26 PM   #13
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
Quote:
Originally Posted by yancek View Post
Neither. You download the iso file and put a loopback entry in your Grub2 menu, grub.cfg file as explained above.
thank you for the clarification.

Last edited by cordx; 04-08-2019 at 06:26 PM. Reason: formatting
 
Old 04-08-2019, 06:49 PM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,471

Rep: Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728Reputation: 1728
I added the sentence below to my first post which I had forgotten.

Quote:
You can put this entry in the current grub.cfg file. If you do that, do NOT update grub. Once installed you can simply delete this menuentry from grub.cfg
Normally, one would not directly edit grub.cfg but since this is a case where basically you have (hopefully) a one time entry, it's a waste of time/effort to put the entry in 40_custom and update grub, use it once, delete it and update grub again.

If the information at the Ubuntu link above is not understood, the link below also gives a detailed explanation of steps needed/used.
I've been using this method to install new systems for years, no DVD or usb needed if you have a Linux system w/Grub2.

https://www.howtogeek.com/196933/how...ur-hard-drive/
 
2 members found this post helpful.
Old 04-12-2019, 07:59 AM   #15
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 247

Rep: Reputation: 47
Quote:
Originally Posted by yancek View Post
A sample entry for booting the bodhi iso below.
Quote:
menuentry "bodhi-2.4.0" {
loopback loop (hd1,1)/bodhi-2.4.0-32.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/bodhi-2.4.0-32.iso quiet splash --
initrd (loop)/casper/initrd.gz
}
yancek, a big thank you for suggesting this possibility. i gave it a go and really like having this option to use

i tried this on my 32-bit bodhi 5 system both from a usb and / using the bodhi-5.0.0-legacy.iso (because op indicated an interest in possibly upgrading to 5). i loop mounted the iso as suggested and found that the "vmlinuz" file is as in the example, but "initrid" has a .lz extension. both usb and / mounts threw some kind of kernel error and wouldn't finish. i tried a few times with each.

since the process started, i figured there might only be some slight changes needed. i went to the link provided:

https://help.ubuntu.com/community/Grub2/ISOBoot

and found some differences in the suggested menuentry. i copied those and came up with this:

Quote:
menuentry "bodhi 5.0.0 legacy iso" {
set isofile="bodhi-5.0.0-legacy.iso"
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}
initially i just booted the image live (all from / from this point forward) to see if it would work. then went back and made a backup in case i borked things during the install. the install process was the same as usual until it came time to write the partition table (if i remember correctly). the system needed to unmount the partition and i thought that would kill the live mount as well. luckily the same link also had a fix for that situation.

since i was already in the live environment and didn't want to have to reboot just to try and remount in ram, i used the second method suggested:

Code:
sudo umount -l -r -f /isodevice
from there on out it was smooth sailing. i now had a second bodhi 5 legacy install.

for the record i also tried booting from the grub menu (as detailed in the link above) out of curiosity. typing 'c' when the menu was displayed got me to a grub prompt and i entered the lines from "set isofile" through "initrd" hitting enter after each one. i even managed to mess up two lines when typing and (instead of kicking the mount) i just got an error message which i was then able to fix by typing the line correctly.

Last edited by cordx; 04-12-2019 at 08:01 AM. Reason: spacing
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bodhi does not recognize the NFTS partitioned drive. Trying to use virtual box to run windows in bodhi on my dual boot computer a minimal virus Linux - Newbie 4 11-24-2018 07:02 AM
LXer: Ubuntu 18.04-Based Bodhi Linux 5.0 Enters Beta with Bodhi Builder Improvements LXer Syndicated Linux News 0 05-30-2018 11:12 AM
LXer: Bodhi Linux 2.4.0 Released, One Year Left Until Bodhi 3.0.0 LXer Syndicated Linux News 0 09-14-2013 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration