[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Attempt to run debootstrap



On 2/22/17, Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> wrote:
> On Qua, 22 Fev 2017, Richard Owlett wrote:
>
>> I wish to use debootstrap to make a minimal but functional install of
>> Debian to /dev/sda9.
>>
>> It did not create a line on the boot menu to run the Debian on
>> /dev/sda9 .
>
> Nor it is expected that it would.


What Eduardo says... If you've never run debootstrap before, it is
absolute bottom dollar, bottom shelf. Very little comes with.
Eduardo's next step, which I've never had to do manually but can
understand the process, will help get it recognized.


>> As reference [4] says "...your new system has no kernel installed and
>> is also missing ..." The instructions it gives are not
>> suitable for my environment.
>>
>> Can someone recommend a reference that covers my circumstances?
>> TIA
>
> chroot to the new install and install a kernel normally (apt-get
> install linux-image-amd64 or similar).
>
> Install os-prober if don't already have it in the main system (the one
> that houses grub), then update-grub should find the new OS.


If your new OS is still not recognized for any reason, the shortcut
(until further debugging) would be to add a line to your
/etc/grub.d/40_custom file.

BUT because you're adding this to a partition, that shouldn't be
necessary. update-grub should find it once Eduardo's suggestion is
followed. I just did a quick check on mine, and os-prober is already
in there for mine without conscious intervention (but the experience
for others may vary).

This all will come from whatever debootstrap installation step tells
you to "apt-cache search linux-image" to find the linux-image that
matches your chosen release.

For those who haven't tried debootstrap yet and are possibly cringing
at apt-get, that command line interface method *is* about all you have
at that point because other (GUI) packages such as aptitude and
synaptic are not yet installed until you do so manually.

AND... those STILL will not work until you've gone through the steps
of choosing and installing a desktop environment/login manager, server
initiali(s/z)ation tool, yada-yada. You get to learn all kinds of new
terms. The entire experience can take several days if you're running
on dialup access with no in-house/onsite repository.....

debootstrap... Feel The Power! :)

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *


Reply to: