Re: Re: (Thread restarted!) Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-29 Thread Valentin Caracalla
Hello everyone, I partly solved my problem and I would like to share my solution: Until now, I thought that the EFI removable media path (\EFI\BOOT\BOOTX64.EFI) is really a fallback location, i.e. a location for putting the boot loader that just always works. Therefore I thought that I could fo

Re: (Thread restarted!) Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-28 Thread David Wright
On Thu 27 Apr 2023 at 10:18:56 (+0700), Max Nikulin wrote: > On 26/04/2023 22:57, Valentin Caracalla wrote: > > the issue with the BIOS boot interface (see my original posting) is still > > unsolved > > I had impression that there was no issue with booting in BIOS (legacy, > compatibility, CSM) m

Re: (Thread restarted!) Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-26 Thread Max Nikulin
On 26/04/2023 22:57, Valentin Caracalla wrote: the issue with the BIOS boot interface (see my original posting) is still unsolved I had impression that there was no issue with booting in BIOS (legacy, compatibility, CSM) mode, of course when it is chosen in firmware/BIOS setup (requires disa

(Thread restarted!) Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-26 Thread Valentin Caracalla
Hello Max, thanks a lot for your input! I do, however, believe that the problem has a different cause. I came to that conclusion, mainly because the issue with the BIOS boot interface (see my original posting) is still unsolved, but also because I tried using the EFI removable media path (which

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-26 Thread Nicolas George
David Wright (12023-04-25): > Don't knock it! The Human Era is much easier for us to parse than ;-) > the French Republican calendar (pre 2018). I had not realized I had fans devoted to the point of tracking the eras of my mail attribution. ;-)² Regards, -- Nicolas George signature.asc De

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-26 Thread Nicolas George
Greg Wooledge (12023-04-25): > find /mnt/boot/efi -exec ls -dl {} + zsh ls -dl /mnt/boot/efi/**/* Regards, -- Nicolas George signature.asc Description: PGP signature

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread David Wright
On Wed 26 Apr 2023 at 09:14:25 (+0700), Max Nikulin wrote: > On 26/04/2023 00:42, Nicolas George wrote: > > Steve McIntyre (12023-04-25): [ … ] > P.S. Nicolas, it seems your mailer has issues with parsing or > formatting timestamps. Don't knock it! The Human Era is much easier for us to parse th

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Greg Wooledge
On Wed, Apr 26, 2023 at 09:34:11AM +0700, Max Nikulin wrote: > On 26/04/2023 05:02, Valentin Caracalla wrote: > > > > user@host:~$ ls -dl $(find /mnt/boot/efi) > > find /mnt/boot/efi -print0 | xargs -0 ls -dl -- > > should be more resistant to peculiar file names, but it does not matter in > thi

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Max Nikulin
On 26/04/2023 05:02, Valentin Caracalla wrote: user@host:~$ ls -dl $(find /mnt/boot/efi) find /mnt/boot/efi -print0 | xargs -0 ls -dl -- should be more resistant to peculiar file names, but it does not matter in this case. ... -rwxr-xr-x 1 root root 126 Apr 25 13:59 /mnt/boot/efi/EFI/

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Max Nikulin
On 26/04/2023 00:42, Nicolas George wrote: Steve McIntyre (12023-04-25): If you do not intend to install a Microsoft bootloader or anything besides GRUB, 16 megaoctets is plenty enough, probably can work with less. Please STOP giving this advice to people! That was not advice, that was inform

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Nicolas George
Valentin Caracalla (12023-04-26): > EFI variables are not supported on this system. To install GRUB in UEFI, you need to have booted the kernel in UEFI. Try to find a live image that does, and you can reinstall GRUB from there. Regards, -- Nicolas George signature.asc Description: PGP sign

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Valentin Caracalla
Here's the output you requested: user@host:~$ ls -dl $(find /mnt/boot/efi) drwxr-xr-x 3 root root   32768 Jan  1  1970 /mnt/boot/efi drwxr-xr-x 3 root root   32768 Apr 25 13:59 /mnt/boot/efi/EFI drwxr-xr-x 2 root root   32768 Apr 25 13:59 /mnt/boot/efi/EFI/debian -rwxr-xr-x 1 root root 108

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Nicolas George
Steve McIntyre (12023-04-25): > >If you do not intend to install a Microsoft bootloader or anything > >besides GRUB, 16 megaoctets is plenty enough, probably can work with > >less. > Please STOP giving this advice to people! That was not advice, that was information. Make your own advice with it.

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Steve McIntyre
Nicolas George wrote: >Max Nikulin (12023-04-25): >> 0.5GB is usually enough, e.g. 550MiB recommended by >> https://www.rodsbooks.com/gdisk/advice.html#esp_sizing) > >If you do not intend to install a Microsoft bootloader or anything >besides GRUB, 16 megaoctets is plenty enough, probably can work

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Nicolas George
Max Nikulin (12023-04-25): > 0.5GB is usually enough, e.g. 550MiB recommended by > https://www.rodsbooks.com/gdisk/advice.html#esp_sizing) If you do not intend to install a Microsoft bootloader or anything besides GRUB, 16 megaoctets is plenty enough, probably can work with less. Regards, --

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Max Nikulin
On 25/04/2023 21:40, Valentin Caracalla wrote: I checked my partition table using "sudo parted /dev/sda print" Number  Start   End    Size   File system  Name  Flags 1  1049kB  128GB  128GB  fat32    init  boot, esp 2  128GB   256GB  128GB  ext4 root Please, show

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Steve McIntyre
vorubergeh...@tutanota.com wrote: >By the way: > >The disadvantage of using EFI is that it doesn't work in QEMU, i.e. the >following will not show a GRUB command line: > >sudo qemu-system-x86_64 -accel kvm -smp 2 -m 2G /dev/sda > >The same thing works for the BIOS boot interface, however (as in my

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Nicolas George
Valentin Caracalla (12023-04-25): > The disadvantage of using EFI is that it doesn't work in QEMU, i.e. the > following will not show a GRUB command line: > > sudo qemu-system-x86_64 -accel kvm -smp 2 -m 2G /dev/sda Oh, I must check if the KVM virtual machine booting on UEFI I have been toying w

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Valentin Caracalla
By the way: The disadvantage of using EFI is that it doesn't work in QEMU, i.e. the following will not show a GRUB command line: sudo qemu-system-x86_64 -accel kvm -smp 2 -m 2G /dev/sda The same thing works for the BIOS boot interface, however (as in my original recipe).

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Valentin Caracalla
I apologize for the formatting in my last post, I don't know what happened. And many thanks for your help! I checked my partition table using "sudo parted /dev/sda print" and it didn't show any flags for partition 1 (the "init" partition). Therefore I manually set the flags using "sudo parted /

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Anssi Saari
Valentin Caracalla writes: > But this doesn't work either. Same problem here. However I can make > such an EFI installation using official installation media on the same > machine and that does work. That recipe (and the whole post) was hard to read but don't you need some flags for the ESP part

Re: Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Valentin Caracalla
> I can't see anything wrong with the script. Did that installation use> GPT > and a BIOS Boot Partition though?The successful installation (with official > installation media) used aBIOS partition table, but I prefer GPT.> I guess I > have to ask, why not just use UEFI?I also tried that and I c

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Valentin Caracalla
There are a few things I forgot to say: The recipe I posted earlier is executed on a system installed on the external drive /dev/sdb, which I call the installer system. It is also a Debian system, with the recipe's dependencies installed. To reproduce the issue (if you want), I suggest using a

Re: Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Anssi Saari
Valentin Caracalla writes: > Previously, I've successfully installaed Debian using official > installation media on this machine (also using BIOS boot interface), > so I know that it works in principle. I can't see anything wrong with the script. Did that installation use GPT and a BIOS Boot Par

Debian installation using debootstrap and grub-install - no entry in ESC boot menu

2023-04-25 Thread Valentin Caracalla
Hello everyone, I'm trying to install Debian on my Asus UX31A using command line utilities like debootstrap and grub-install. However, the installed system is not bootable. The problem is that the internal drive (which I install the system to) doesn't show up in the boot menu (which is what the

Re: Buster install using debootstrap. (SOLVED)

2020-06-05 Thread Marc Shapiro
On 6/5/20 6:31 PM, Marc Shapiro wrote: On 6/4/20 11:30 PM, Sven Hartge wrote: Marc Shapiro wrote: I also don't understand why it says that it could not create temporary files in /tmp.  I am running this as root and /tmp is owned by root. What am I missing? /tmp (and /var/tmp/) should have th

Re: Buster install using debootstrap.

2020-06-05 Thread Marc Shapiro
On 6/4/20 11:30 PM, Sven Hartge wrote: Marc Shapiro wrote: I also don't understand why it says that it could not create temporary files in /tmp.  I am running this as root and /tmp is owned by root. What am I missing? /tmp (and /var/tmp/) should have the following permissions and rights: r

Re: Buster install using debootstrap.

2020-06-05 Thread Roberto C . Sánchez
On Fri, Jun 05, 2020 at 08:30:16AM +0200, Sven Hartge wrote: > Marc Shapiro wrote: > > > I also don't understand why it says that it could not create temporary > > files in /tmp.  I am running this as root and /tmp is owned by root.  > > What am I missing? > > /tmp (and /var/tmp/) should have

Re: Buster install using debootstrap.

2020-06-05 Thread Sven Hartge
Greg Wooledge wrote: > On Fri, Jun 05, 2020 at 08:30:16AM +0200, Sven Hartge wrote: >> Marc Shapiro wrote: >>> I also don't understand why it says that it could not create temporary >>> files in /tmp.  I am running this as root and /tmp is owned by root.  >>> What am I missing? >> >> /tmp (a

Re: Buster install using debootstrap.

2020-06-05 Thread Greg Wooledge
On Fri, Jun 05, 2020 at 08:30:16AM +0200, Sven Hartge wrote: > Marc Shapiro wrote: > > > I also don't understand why it says that it could not create temporary > > files in /tmp.  I am running this as root and /tmp is owned by root.  > > What am I missing? > > /tmp (and /var/tmp/) should have

Re: Buster install using debootstrap.

2020-06-04 Thread Sven Hartge
Marc Shapiro wrote: > I also don't understand why it says that it could not create temporary > files in /tmp.  I am running this as root and /tmp is owned by root.  > What am I missing? /tmp (and /var/tmp/) should have the following permissions and rights: root:root 1777/drwxrwxrwt apt runs

Buster install using debootstrap.

2020-06-04 Thread Marc Shapiro
I have just installed Buster on a spare set of partitions using debootstrap, as documented in:     Appendix D.3 of the Installation Guide. When I got to configuring networking, I just copied /etc/networking/interfaces, /etc/hosts, /etc/hostname, and /etc/resolv.conf from my Stretch

Re: [Progress Report1] Re: Using debootstrap

2018-04-29 Thread Richard Owlett
On 04/29/2018 07:11 AM, Andy Smith wrote: Hi Richard, On Sun, Apr 29, 2018 at 06:43:42AM -0500, Richard Owlett wrote: On 04/29/2018 12:59 AM, Richard Owlett wrote: On 04/28/2018 10:57 PM, Kushal Kumaran wrote: You can try it out to verify after you fix the mount options to not include nodev.

Re: [Progress Report1] Re: Using debootstrap

2018-04-29 Thread Andy Smith
Hi Richard, On Sun, Apr 29, 2018 at 06:43:42AM -0500, Richard Owlett wrote: > On 04/29/2018 12:59 AM, Richard Owlett wrote: > >On 04/28/2018 10:57 PM, Kushal Kumaran wrote: > >>You can try it out to verify after you fix the mount options to not > >>include nodev. […] > The man page for mount hin

Re: [Progress Report1] Re: Using debootstrap

2018-04-29 Thread Richard Owlett
On 04/29/2018 12:59 AM, Richard Owlett wrote: On 04/28/2018 10:57 PM, Kushal Kumaran wrote: Richard Owlett writes: On 04/27/2018 12:06 PM, Felix Dietrich wrote: [SNIP] Script started on Fri 27 Apr 2018 02:22:42 PM CDT ls -Rdl /media/root/rco1 ls -Rdl /usr/sbin/debootstrap ls -Rdl /medi

Re: [Progress Report1] Re: Using debootstrap

2018-04-28 Thread Richard Owlett
On 04/28/2018 10:57 PM, Kushal Kumaran wrote: Richard Owlett writes: On 04/27/2018 12:06 PM, Felix Dietrich wrote: [SNIP] Do not specify „--print-debs” if you want „debootstrap” to install the packages. *BINGO* Proofreading one's own work is intrinsically error prone ;/ But it doesn't

Re: [Progress Report1] Re: Using debootstrap

2018-04-28 Thread Kushal Kumaran
Richard Owlett writes: > On 04/27/2018 12:06 PM, Felix Dietrich wrote: >>[SNIP] >> >> Do not specify „--print-debs” if you want „debootstrap” to install the >> packages. > > *BINGO* > Proofreading one's own work is intrinsically error prone ;/ > > But it doesn't solve all my problems. Capture

Re: [Progress Report1] Re: Using debootstrap

2018-04-28 Thread Richard Owlett
On 04/27/2018 09:54 AM, rhkra...@gmail.com wrote: On Friday, April 27, 2018 10:16:22 AM Richard Owlett wrote: I thought I was doing that. My TARGET is "/media/richard/rco" where "rco" is the label of a partition on the flash drive. Just chiming in from left field: have you mounted that partiti

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread Richard Owlett
On 04/27/2018 12:06 PM, Felix Dietrich wrote: [SNIP] Do not specify „--print-debs” if you want „debootstrap” to install the packages. *BINGO* Proofreading one's own work is intrinsically error prone ;/ But it doesn't solve all my problems. Captured the session with SCRIPT(1). I haven't y

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread Felix Dietrich
Richard Owlett writes: > On 04/25/2018 09:19 AM, Richard Owlett wrote: >> My goal is a very minimalist install to a flash drive. It will NOT >> have GRUB - GRUB on this machine is on a dedicated partition for >> convenience in some of my experiments. > > Doing: > debootstrap --verbose --arch

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread deloptes
Richard Owlett wrote: > The error message when attempting "debootstrap --second-stage" is > "cat: /usr/share/debootstrap/suite: No such file or directory". I don't recall to be using second stage. I just make debootstrap with perhaps architecture and I think it takes the minimal as default. Sy

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread rhkramer
On Friday, April 27, 2018 10:16:22 AM Richard Owlett wrote: > I thought I was doing that. My TARGET is "/media/richard/rco" where > "rco" is the label of a partition on the flash drive. Just chiming in from left field: have you mounted that partition?

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread Richard Owlett
On 04/27/2018 08:49 AM, deloptes wrote: Richard Owlett wrote: QUESTION: Has anyone personally used debootstrap to install to a flash drive? I do install in a directory and then copy the content to the flash drive then chroot and make it bootable I was installing to the flash drive because I

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread deloptes
Richard Owlett wrote: > QUESTION: > Has anyone personally used debootstrap to install to a flash drive? I do install in a directory and then copy the content to the flash drive then chroot and make it bootable alternatively you ma install into directory where flash drive is mounted and then chro

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread Richard Owlett
On 04/27/2018 08:00 AM, songbird wrote: Richard Owlett wrote: ... QUESTION: Has anyone personally used debootstrap to install to a flash drive? not yet... :) i'm currently having other bigger fish to fry... My environment is: OS is i386 Debian stable DVD is DVD-1 of Debian 9

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread songbird
Richard Owlett wrote: ... > QUESTION: > Has anyone personally used debootstrap to install to a flash drive? not yet... :) i'm currently having other bigger fish to fry... > My environment is: >OS is i386 Debian stable >DVD is DVD-1 of Debian 9.1.0 >Flash drive has a: > 4 G

Re: [Progress Report1] Re: Using debootstrap

2018-04-27 Thread Richard Owlett
On 04/27/2018 06:38 AM, Richard Owlett wrote: Doing: debootstrap --verbose --arch=i386 --include=apt-get --variant=minbase --no-check-gpg --print-debs --keep-debootstrap-dir stable /media/richard/rco file:media/cdrom0/debian/ generates no error messages. HOWEVER, very few files are actua

[Progress Report1] Re: Using debootstrap

2018-04-27 Thread Richard Owlett
On 04/25/2018 09:19 AM, Richard Owlett wrote: My goal is a very minimalist install to a flash drive. It will NOT have GRUB - GRUB on this machine is on a dedicated partition for convenience in some of my experiments. From reading several references I believe my command should be: debootstrap

Re: Using debootstrap

2018-04-27 Thread Richard Owlett
On 04/26/2018 02:43 PM, Henning Follmann wrote: On Thu, Apr 26, 2018 at 08:02:38PM +0200, deloptes wrote: Henning Follmann wrote: Happy to read the man page to you buddy. -H while I can understand your feeling quite well, I had to teach myself either to ignore affecting questions or to ans

Re: Using debootstrap

2018-04-27 Thread Richard Owlett
n.org/releases/stable/i386/apds03.html.en#idm46014282700896 Apparently file:media/cdrom0/debian/ work. I say "apparently" because: 1. I get no "file not found" messages. 2. I have some undiagnosed problems using debootstrap.

Re: Using debootstrap

2018-04-26 Thread David Wright
On Thu 26 Apr 2018 at 15:43:32 (-0400), Henning Follmann wrote: > On Thu, Apr 26, 2018 at 08:02:38PM +0200, deloptes wrote: > > Henning Follmann wrote: > > > > > Happy to read the man page to you buddy. > > > > > > > > > -H > > > > while I can understand your feeling quite well, I had to teach

Re: Using debootstrap

2018-04-26 Thread Felix Dietrich
deloptes writes: > its better you give example in such case > > debootstrap [OPTION...] stable /mypath/to/target/installation file:///DVD1 > > this is how I understand it, correct if I'm wrong Almost: as has been stated elsewhere in this thread, at least according to Appendix D of the Debian I

Re: Using debootstrap

2018-04-26 Thread Henning Follmann
On Thu, Apr 26, 2018 at 08:02:38PM +0200, deloptes wrote: > Henning Follmann wrote: > > > Happy to read the man page to you buddy. > > > > > > -H > > while I can understand your feeling quite well, I had to teach myself either > to ignore affecting questions or to answer for the sake of the ans

Re: Using debootstrap

2018-04-26 Thread deloptes
Henning Follmann wrote: > Happy to read the man page to you buddy. > > > -H while I can understand your feeling quite well, I had to teach myself either to ignore affecting questions or to answer for the sake of the answer. sometimes it is really frustrating how one can not understand obvious

Re: Using debootstrap

2018-04-26 Thread Curt
On 2018-04-25, Richard Owlett wrote: > My goal is a very minimalist install to a flash drive. It will NOT have > GRUB - GRUB on this machine is on a dedicated partition for convenience > in some of my experiments. > > From reading several references I believe my command should be: > > debootst

Re: Using debootstrap

2018-04-25 Thread rhkramer
but, start a new thread, as what you're looking for is presumably not related to Using debootstrap

Re: Using debootstrap

2018-04-25 Thread Richard Owlett
On 04/25/2018 11:03 AM, Greg Wooledge wrote: ... I meant a script(1) session. Sorry. But I bet screen also has some logging capabilities, if you want to do it that way. As the man page says: It is useful for students who need a hardcopy record of an interactive session as proof of an assignm

Re: Using debootstrap

2018-04-25 Thread Richard Owlett
On 04/25/2018 10:47 AM, Greg Wooledge wrote: On Wed, Apr 25, 2018 at 06:45:32PM +0300, Abdullah Ramazanoglu wrote: On Wed, 25 Apr 2018 09:19:13 -0500 Richard Owlett said: I have two questions: 1. What should replace "" as I'll be using DVD1 of Debian 9.1.0 as my "repository"?

Re: Using debootstrap

2018-04-25 Thread Richard Owlett
On 04/25/2018 10:45 AM, Abdullah Ramazanoglu wrote: On Wed, 25 Apr 2018 09:19:13 -0500 Richard Owlett said: I have two questions: 1. What should replace "" as I'll be using DVD1 of Debian 9.1.0 as my "repository"? 2. As I expect the console display may exceed the scroll back

Re: Using debootstrap

2018-04-25 Thread Felix Dietrich
Henning Follmann writes: > On Wed, Apr 25, 2018 at 09:19:13AM -0500, Richard Owlett wrote: >> From reading several references I believe my command should be: >> >> debootstrap --arch=i386 --include=apt-get --variant=minbase --no-check-gpg >> --print-debs --keep-debootstrap-dir stable /media/rich

Re: Using debootstrap

2018-04-25 Thread Felix Dietrich
> From reading several references I believe my command should be: > > debootstrap --arch=i386 --include=apt-get --variant=minbase \ > --no-check-gpg --print-debs --keep-debootstrap-dir stable \ > /media/richard/rco /media/cdrom0/ > What should replace "" as I'll be using DVD1 of Debian

Re: Using debootstrap

2018-04-25 Thread Greg Wooledge
... I meant a script(1) session. Sorry. But I bet screen also has some logging capabilities, if you want to do it that way.

Re: Using debootstrap

2018-04-25 Thread Greg Wooledge
On Wed, Apr 25, 2018 at 06:45:32PM +0300, Abdullah Ramazanoglu wrote: > On Wed, 25 Apr 2018 09:19:13 -0500 Richard Owlett said: > > > I have two questions: > >1. What should replace "" as I'll be using DVD1 of Debian 9.1.0 > > as my "repository"? > >2. As I expect the console dis

Re: Using debootstrap

2018-04-25 Thread Abdullah Ramazanoglu
On Wed, 25 Apr 2018 09:19:13 -0500 Richard Owlett said: > I have two questions: >1. What should replace "" as I'll be using DVD1 of Debian 9.1.0 > as my "repository"? >2. As I expect the console display may exceed the scroll back limits, > I wish to pipe the console display

Re: Using debootstrap

2018-04-25 Thread Henning Follmann
On Wed, Apr 25, 2018 at 10:21:21AM -0500, Richard Owlett wrote: > On 04/25/2018 10:12 AM, Henning Follmann wrote: > > On Wed, Apr 25, 2018 at 09:19:13AM -0500, Richard Owlett wrote: > > > My goal is a very minimalist install to a flash drive. It will NOT have > > > GRUB > > > - GRUB on this machin

Re: Using debootstrap

2018-04-25 Thread Richard Owlett
On 04/25/2018 10:12 AM, Henning Follmann wrote: On Wed, Apr 25, 2018 at 09:19:13AM -0500, Richard Owlett wrote: My goal is a very minimalist install to a flash drive. It will NOT have GRUB - GRUB on this machine is on a dedicated partition for convenience in some of my experiments. From readin

Re: Using debootstrap

2018-04-25 Thread Henning Follmann
On Wed, Apr 25, 2018 at 09:19:13AM -0500, Richard Owlett wrote: > My goal is a very minimalist install to a flash drive. It will NOT have GRUB > - GRUB on this machine is on a dedicated partition for convenience in some > of my experiments. > > From reading several references I believe my command

Using debootstrap

2018-04-25 Thread Richard Owlett
My goal is a very minimalist install to a flash drive. It will NOT have GRUB - GRUB on this machine is on a dedicated partition for convenience in some of my experiments. From reading several references I believe my command should be: debootstrap --arch=i386 --include=apt-get --variant=minbase

Re: locale problem when setting up a chroot using debootstrap

2009-08-17 Thread Sven Joachim
On 2009-08-17 17:55 +0200, andy baxter wrote: > Osamu Aoki wrote: >> On Mon, Aug 17, 2009 at 07:31:04AM +0100, andy baxter wrote: >> >>> Thanks a lot. I was trying to find something like that using dpkg >>> -l and apt-cache search, but obviously missed it. >>> > some packages (e.g. mc

Re: locale problem when setting up a chroot using debootstrap

2009-08-17 Thread andy baxter
Osamu Aoki wrote: On Mon, Aug 17, 2009 at 07:31:04AM +0100, andy baxter wrote: Thanks a lot. I was trying to find something like that using dpkg -l and apt-cache search, but obviously missed it. some packages (e.g. mc), there are a load of errors which seem to be to do with locales. Pe

Re: locale problem when setting up a chroot using debootstrap

2009-08-17 Thread Osamu Aoki
On Mon, Aug 17, 2009 at 07:31:04AM +0100, andy baxter wrote: > Thanks a lot. I was trying to find something like that using dpkg -l and > apt-cache search, but obviously missed it. >>> some packages (e.g. mc), there are a load of errors which seem to be >>> to do with locales. Perl (I think) is

Re: locale problem when setting up a chroot using debootstrap

2009-08-16 Thread andy baxter
@lists.debian.org Subject: locale problem when setting up a chroot using debootstrap I'm setting up a chroot using debootstrap, eventually for use with user mode linux. I have got it mostly working ok, but when I install some packages (e.g. mc), there are a load of errors which seem to be

RE: locale problem when setting up a chroot using debootstrap

2009-08-16 Thread Kevin Ross
> -Original Message- > From: andy baxter [mailto:a...@earthsong.free-online.co.uk] > Sent: Sunday, August 16, 2009 2:28 PM > To: debian-user@lists.debian.org > Subject: locale problem when setting up a chroot using debootstrap > > I'm setting up a chroot using d

locale problem when setting up a chroot using debootstrap

2009-08-16 Thread andy baxter
I'm setting up a chroot using debootstrap, eventually for use with user mode linux. I have got it mostly working ok, but when I install some packages (e.g. mc), there are a load of errors which seem to be to do with locales. Perl (I think) is saying something like check that the right l

Re: Installing Lenny on LVM using debootstrap

2009-05-20 Thread Boyd Stephen Smith Jr.
In <4a140dad.6020...@yahoo.com>, Marc Shapiro wrote: >Boyd Stephen Smith Jr. wrote: >> In <4a125119.8030...@yahoo.com>, Marc Shapiro wrote: >>> I then chrooted into /mnt/debinst, again, and did: >>> cd \dev >>> MAKEDEV generic >> Instead of this, since you have a running Linux system, I wou

Re: Installing Lenny on LVM using debootstrap

2009-05-20 Thread Marc Shapiro
Boyd Stephen Smith Jr. wrote: In <4a125119.8030...@yahoo.com>, Marc Shapiro wrote: I then chrooted into /mnt/debinst, again, and did: cd \dev MAKEDEV generic Instead of this, since you have a running Linux system, I would suggest doing (from outside the chroot): mount -o rbin

Re: Installing Lenny on LVM using debootstrap

2009-05-19 Thread Boyd Stephen Smith Jr.
In <4a125119.8030...@yahoo.com>, Marc Shapiro wrote: >I then chrooted into /mnt/debinst, again, and did: > cd \dev > MAKEDEV generic Instead of this, since you have a running Linux system, I would suggest doing (from outside the chroot): mount -o rbind /dev /mnt/debinst/dev That woul

Installing Lenny on LVM using debootstrap

2009-05-18 Thread Marc Shapiro
I have given up on trying to get flash working again on my existing system. I have decided, since I have a spare partition with LVM volumes for /home, /var, /usr, /tmp, and swap that I would just reformat them with mke2fs -j and reinstall using debootstrap into these volumes. I followed the

Re: using debootstrap to install Debian

2008-07-10 Thread michael
On Mon, 2008-07-07 at 20:11 -0300, Gabriel Parrondo wrote: > El lun, 07-07-2008 a las 22:54 +0100, michael escribió: > > On Fri, 2008-07-04 at 17:56 -0300, Gabriel Parrondo wrote: > > > El vie, 04-07-2008 a las 17:24 +0200, Shawn Beasley escribió: > > > > michael wrote: > > > > > I was following th

Re: using debootstrap to install Debian

2008-07-08 Thread michael
> > > OP: > > > You should chroot in /debian_chroot and run 'aptitude install > > > linux-image-architecture'. > > > If debootstrap didn't already, also install grub (or lilo if you prefer > > > it). Edit fstab (don't forget about /proc) and exit the chroot. > > > Then, if you have grub in the fed

Re: using debootstrap to install Debian

2008-07-08 Thread michael
On Mon, 2008-07-07 at 20:11 -0300, Gabriel Parrondo wrote: {} > > > > > > OP: > > > You should chroot in /debian_chroot and run 'aptitude install > > > linux-image-architecture'. > > > If debootstrap didn't already, also install grub (or lilo if you prefer > > > it). Edit fstab (don't forget about

Re: How to create qemu-bootable image using debootstrap?

2008-07-08 Thread Matej Kosik
David Barrett wrote: > Aha, excellent -- with your grub commands I was able to complete my > script. Thanks for bringing this up. > (Though I'm still not sure where the stage1/2/e2fs_stage1 should > come from -- currently it just copies off the host, which isn't that > clean but works for now.)

Re: How to create qemu-bootable image using debootstrap?

2008-07-07 Thread David Barrett
Matej Kosik wrote: Previously, I had the same problem but I did not know how to deal with the partions (btw. I still have too figure out how did you got those numbers to be able to create smaller disks). The `parted' stuff you posted before was a missing piece of information. Here is a complete

Re: using debootstrap to install Debian

2008-07-07 Thread Gabriel Parrondo
El lun, 07-07-2008 a las 22:54 +0100, michael escribió: > On Fri, 2008-07-04 at 17:56 -0300, Gabriel Parrondo wrote: > > El vie, 04-07-2008 a las 17:24 +0200, Shawn Beasley escribió: > > > michael wrote: > > > > I was following the instructions on, eg Debian_Admin, to attempt an > > > > installatio

Re: using debootstrap to install Debian

2008-07-07 Thread michael
On Fri, 2008-07-04 at 17:56 -0300, Gabriel Parrondo wrote: > El vie, 04-07-2008 a las 17:24 +0200, Shawn Beasley escribió: > > michael wrote: > > > I was following the instructions on, eg Debian_Admin, to attempt an > > > installation of Debian on a Fedora box (that didn't like the netinst > > > CD

Re: How to create qemu-bootable image using debootstrap?

2008-07-07 Thread Matej Kosik
38PM -0700, David Barrett wrote: >>>>>> David Barrett wrote: >>>>>>> What's the best way to create a raw disk image using >>>>>>> debootstrap that can be booted with qemu? >>>>>> Following up on my previous post: I'

Re: How to create qemu-bootable image using debootstrap?

2008-07-07 Thread Andrew Sackville-West
Barrett wrote: >>>>>> What's the best way to create a raw disk image using >>>>>> debootstrap that can be booted with qemu? >>>>> Following up on my previous post: I've figured out some of the >>>>> steps, but I'm

Re: using debootstrap to install Debian

2008-07-07 Thread Shawn Beasley
michael wrote: > On Fri, 2008-07-04 at 17:24 +0200, Shawn Beasley wrote: >> michael wrote: >>> I was following the instructions on, eg Debian_Admin, to attempt an >>> installation of Debian on a Fedora box (that didn't like the netinst >>> CD). I have got as far as installing a chroot in /debian_ch

Re: using debootstrap to install Debian

2008-07-07 Thread michael
On Fri, 2008-07-04 at 17:24 +0200, Shawn Beasley wrote: > michael wrote: > > I was following the instructions on, eg Debian_Admin, to attempt an > > installation of Debian on a Fedora box (that didn't like the netinst > > CD). I have got as far as installing a chroot in /debian_chroot but > > canno

Re: How to create qemu-bootable image using debootstrap?

2008-07-07 Thread Carl Fink
hat's the best way to create a raw disk image using debootstrap that > >>>> can be booted with qemu? > >>> Following up on my previous post: I've figured out some of the steps, but > >>> I'm stuck on installing Grub. Do you know how to i

Re: How to create qemu-bootable image using debootstrap?

2008-07-07 Thread David Barrett
Andrei Popescu wrote: On Sun, Jul 06, 2008 at 11:34:52PM -0700, David Barrett wrote: Carl Fink wrote: On Sun, Jul 06, 2008 at 09:00:38PM -0700, David Barrett wrote: David Barrett wrote: What's the best way to create a raw disk image using debootstrap that can be booted with qemu? Foll

Re: How to create qemu-bootable image using debootstrap?

2008-07-07 Thread Andrei Popescu
On Sun, Jul 06, 2008 at 11:34:52PM -0700, David Barrett wrote: > Carl Fink wrote: >> On Sun, Jul 06, 2008 at 09:00:38PM -0700, David Barrett wrote: >>> David Barrett wrote: >>>> What's the best way to create a raw disk image using debootstrap that >>>&g

Re: How to create qemu-bootable image using debootstrap?

2008-07-06 Thread David Barrett
Joey Hess wrote: David Barrett wrote: Following up on my previous post: I've figured out some of the steps, but I'm stuck on installing Grub. Do you know how to install grub on a raw device file? You may be able to get grub-install to work using the --grub-mkdevicemap option and a dummied

Re: How to create qemu-bootable image using debootstrap?

2008-07-06 Thread David Barrett
Carl Fink wrote: On Sun, Jul 06, 2008 at 09:00:38PM -0700, David Barrett wrote: David Barrett wrote: What's the best way to create a raw disk image using debootstrap that can be booted with qemu? Following up on my previous post: I've figured out some of the steps, but I'm stuc

Re: How to create qemu-bootable image using debootstrap?

2008-07-06 Thread Joey Hess
David Barrett wrote: > Following up on my previous post: I've figured out some of the steps, > but I'm stuck on installing Grub. Do you know how to install grub on a > raw device file? You may be able to get grub-install to work using the --grub-mkdevicemap option and a dummied up device map

Re: How to create qemu-bootable image using debootstrap?

2008-07-06 Thread Carl Fink
On Sun, Jul 06, 2008 at 09:00:38PM -0700, David Barrett wrote: > David Barrett wrote: > >What's the best way to create a raw disk image using debootstrap that > >can be booted with qemu? > > Following up on my previous post: I've figured out some of the steps, >

Re: How to create qemu-bootable image using debootstrap?

2008-07-06 Thread David Barrett
David Barrett wrote: What's the best way to create a raw disk image using debootstrap that can be booted with qemu? Following up on my previous post: I've figured out some of the steps, but I'm stuck on installing Grub. Do you know how to install grub on a raw device file?

How to create qemu-bootable image using debootstrap?

2008-07-06 Thread David Barrett
What's the best way to create a raw disk image using debootstrap that can be booted with qemu? I think I've almost figured it out, but I'm not savvy with the low-level file commands. Can you point me in the right direction? I'm hacking together a few sources -

Re: using debootstrap to install Debian

2008-07-04 Thread Gabriel Parrondo
El vie, 04-07-2008 a las 17:24 +0200, Shawn Beasley escribió: > michael wrote: > > I was following the instructions on, eg Debian_Admin, to attempt an > > installation of Debian on a Fedora box (that didn't like the netinst > > CD). I have got as far as installing a chroot in /debian_chroot but > >

Re: using debootstrap to install Debian

2008-07-04 Thread Shawn Beasley
michael wrote: > I was following the instructions on, eg Debian_Admin, to attempt an > installation of Debian on a Fedora box (that didn't like the netinst > CD). I have got as far as installing a chroot in /debian_chroot but > cannot work out the final steps needed to be able to boot into the > De

  1   2   >