Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-23 Thread loki
On Wed, 2013-12-18 at 16:16 +0100, loki wrote: ... > > This gets me to the point that it starts the kernel, finds sda, > sdb,. states that it Failed to execute /init, > sh: cannot set terminal process group (-1): Inappropiate ioctl for > device > sh: no job control in this shell > > and the

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-22 Thread loki
On Wed, 2013-12-18 at 14:31 -0600, William Harrington wrote: > Don't optimize the bootloader. Grub doesn't need optimizations. No > bootloader needs optimization from gcc. You are dealing, also, with > assmebly that the authors write for the target platform. Segfaults > commonly come from g

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-19 Thread Simon Geard
On Wed, 2013-12-18 at 16:00 -0600, Dan McGhee wrote: > You're right about the GPT without UEFI. But, AFIK, the user must *make* > the partition behave with the GUID's. But, again AFIK, if the firmware > is MBR based, you're still limited to four primaries. No, because under GPT, there's simply n

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Dan McGhee
On 12/18/2013 05:54 PM, Bruce Dubbs wrote: > Dan McGhee wrote: >> On 12/18/2013 04:09 PM, akhiezer wrote: >>> And, again IIUYC re 'primaries': no such concept in GPT, at least not in >>> pre-GPT sense; and in pre-GPT sense, yes, the spec only allows for 4 >>> primaries >>> anyhow. >> This is anoth

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Bruce Dubbs
Dan McGhee wrote: > On 12/18/2013 04:09 PM, akhiezer wrote: >>> Date: Wed, 18 Dec 2013 16:00:11 -0600 >>> From: Dan McGhee >>> To: LFS Support List >>> Subject: Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB >>> >>> [...] But, AFIK, the

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Dan McGhee
On 12/18/2013 04:09 PM, akhiezer wrote: >> Date: Wed, 18 Dec 2013 16:00:11 -0600 >> From: Dan McGhee >> To: LFS Support List >> Subject: Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB >> >> [...] But, AFIK, the user must *make* >> the partition behave

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread akhiezer
> Date: Wed, 18 Dec 2013 16:00:11 -0600 > From: Dan McGhee > To: LFS Support List > Subject: Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB > . . > >>> > >> You and I have similar attitudes, esp with regard to the "M-word." :) >

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread akhiezer
> Date: Wed, 18 Dec 2013 15:44:17 -0600 > From: Bruce Dubbs > To: LFS Support List > Subject: Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB > . . > > The trick for grub users is to get it to "look across" the > > partitions without having t

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Dan McGhee
On 12/18/2013 03:44 PM, Bruce Dubbs wrote: > Dan McGhee wrote: >> On 12/18/2013 02:08 PM, loki wrote: >>> On Wed, 2013-12-18 at 09:24 -0600, Dan McGhee wrote: >>> Are you trying to do this on a UEFI system? Dan >>> Nope. I'm not even sure that this old rig is EFI capable :) And

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Bruce Dubbs
Dan McGhee wrote: > On 12/18/2013 02:08 PM, loki wrote: >> On Wed, 2013-12-18 at 09:24 -0600, Dan McGhee wrote: >> >>> Are you trying to do this on a UEFI system? >>> >>> Dan >>> >> >> Nope. I'm not even sure that this old rig is EFI capable :) And secondly I'm >> too lazy to learn it since for the

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Dan McGhee
On 12/18/2013 02:08 PM, loki wrote: On Wed, 2013-12-18 at 09:24 -0600, Dan McGhee wrote: Are you trying to do this on a UEFI system? Dan Nope. I'm not even sure that this old rig is EFI capa

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread William Harrington
On Dec 18, 2013, at 2:08 PM, loki wrote: > Yup. -O3 -march=native. And that said, something comes into my mind > that I've read somewhere that grub does not play well with -O3. > Thanks. Will try that on Friday. Don't optimize the bootloader. Grub doesn't need optimizations. No bootloader

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread loki
On Wed, 2013-12-18 at 09:24 -0600, Dan McGhee wrote: > Are you trying to do this on a UEFI system? > > Dan > Nope. I'm not even sure that this old rig is EFI capable :) And secondly I'm too lazy to learn it since for the servers that I use 4 primary partitions is the most I'm going to use and

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Bruce Dubbs
William Harrington wrote: > > On Dec 18, 2013, at 9:24 AM, Dan McGhee wrote: > >>> /usr/share/grub/grub-mkconfig_lib: line 53: 12058 Segmentation >>> fault (core dumped) "${grub_probe}" -t fs "$path" > /dev/null >>> 2>&1 >>> Path `/boot/grub' is not readable by GRUB on boot. Installation is >>

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread William Harrington
On Dec 18, 2013, at 9:24 AM, Dan McGhee wrote: >> /usr/share/grub/grub-mkconfig_lib: line 53: 12058 Segmentation >> fault (core dumped) "${grub_probe}" -t fs "$path" > /dev/null >> 2>&1 >> Path `/boot/grub' is not readable by GRUB on boot. Installation is >> impossible. Aborting. Did

Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread Dan McGhee
On 12/18/2013 09:16 AM, loki wrote: Heya, having trouble setting up GRUB2. Here's the setup: Hardware: Pentium 4, 2x ATA HD 80GB, 512MB Software RAID 1 (metadata v=1.2) md0 (Boot) md1 (Swap) md2 (root) Live-System: Xubuntu 12.04 (32-bit) LFS 7.4 *Command (inside chroot): grub-install /dev/s

[lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread loki
Heya, having trouble setting up GRUB2. Here's the setup: Hardware: Pentium 4, 2x ATA HD 80GB, 512MB Software RAID 1 (metadata v=1.2) md0 (Boot) md1 (Swap) md2 (root) Live-System: Xubuntu 12.04 (32-bit) LFS 7.4 Command (inside chroot): grub-install /dev/sda OUTPUT: /usr/share/grub/grub-mkconfi