public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] initrd
@ 2005-10-28 14:13 DR GM SEDDON
  2005-10-28 14:54 ` Mark Knecht
  2005-10-29 15:36 ` [gentoo-amd64] initrd Hemmann, Volker Armin
  0 siblings, 2 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-28 14:13 UTC (permalink / raw
  To: gentoo-amd64

Dear list,
I have just started using Gentoo and up-to-now am impressed.  I have 
generated a kernel using 'genkernel' and the kernel is in /boot.  
However, I do not have 'initrd' but 'initramfs'.  is this a problem or 
should I modify grub appropriately?
Gavin.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-28 16:19 Dmitri Pogosyan
  2005-10-29  6:12 ` Lee Thompson
  2005-10-29 13:21 ` DR GM SEDDON
  0 siblings, 2 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-28 16:19 UTC (permalink / raw
  To: gentoo-amd64

Not really, you can use initramfs in place of initrd. I have in grub.conf 
 
title=Gentoo Linux 2.6.13-r3 UDEV 
root (hd0,0) 
kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc 
real_root=/dev/sda2 vga=3847 udev 
initrd /initramfs-2.6.13-gentoo-r3 
 
 
 
 
> Dear list, 
> I have just started using Gentoo and up-to-now am impressed.  I have  
> generated a kernel using 'genkernel' and the kernel is in /boot.   
> However, I do not have 'initrd' but 'initramfs'.  is this a problem or  
> should I modify grub appropriately? 
> Gavin. 
> --  
> gentoo-amd64@gentoo.org mailing list 
 
 
 
-- 
Dmitri Pogosyan            Department of Physics 
Associate Professor        University of Alberta 
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs 
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA 
 
 
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-29 23:49 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-29 23:49 UTC (permalink / raw
  To: gentoo-amd64

> On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
> > Dmitri Pogosyan wrote:
> >> Not really, you can use initramfs in place of initrd. I have in  
> >> grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel / 
> >> kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc  
> >> real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
> >>
> >>> Dear list, I have just started using Gentoo and up-to-now am  
> >>> impressed.  I have  generated a kernel using 'genkernel' and the  
> >>> kernel is in /boot.   However, I do not have 'initrd' but  
> >>> 'initramfs'.  is this a problem or  should I modify grub  
> >>> appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
> >>>
> >>
> >>
> > I noticed your files are in / not /boot where mine  are.  Should I  
> > mv them?
> 
> They're in / only on the boot partition ie they are in the root of  
> (hd0,0).
> 
> If you are specifying your files as living in /boot on the boot  
> partition then this could stop your system booting fully.
> 
Exactly, here is my

#ls -l /boot
-rw-r--r--  1 root root 1050830 Mar 30  2005 System.map-2.6.11-gentoo-r3
-rw-r--r--  1 root root 1050580 May 12 22:42 System.map-2.6.11-gentoo-r7
-rw-r--r--  1 root root 1214233 Oct 11 00:54 System.map-2.6.13-gentoo-r3
-rw-r--r--  1 root root 1019913 Mar  5  2005 System.map-2.6.9-gentoo-r14
-rw-r--r--  1 root root 1219082 Oct 11 17:54 System.map-2.6.13-gentoo-r3
lrwxrwxrwx  1 root root       1 Jan 11  2005 boot -> .
drwxr-xr-x  2 root root    1024 Oct 11 17:27 grub
-rw-r--r--  1 root root  884138 Oct 11 17:57 initramfs-2.6.13-gentoo-r3
-rw-r--r--  1 root root 1044636 Mar 30  2005 initrd-2.6.11-gentoo-r3
-rw-r--r--  1 root root 1035787 May 12 22:45 initrd-2.6.11-gentoo-r7
-rw-r--r--  1 root root 1055316 Mar  5  2005 initrd-2.6.9-gentoo-r14
-rw-r--r--  1 root root 1748333 Mar 30  2005 kernel-2.6.11-gentoo-r3
-rw-r--r--  1 root root 1745664 May 12 22:42 kernel-2.6.11-gentoo-r7
-rw-r--r--  1 root root 1795423 Oct 11 17:54 kernel-2.6.13-gentoo-r3
-rw-r--r--  1 root root 1663290 Mar  5  2005 kernel-2.6.9-gentoo-r14
drwx------  2 root root   12288 Jan 11  2005 lost+found





-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-29 23:54 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-29 23:54 UTC (permalink / raw
  To: gentoo-amd64

> On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
> > my grub.conf:
> > ' default 0
> > timeout     5
> > splashimage=(hd0.0)/grub/splash.xpm.gz
> >
> > title=linux-2.6.13
> > root (hd0.0)
> > kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> > ramdisk-8193 real_root=/dev/hda3 udev
> > initrd /initrd'
> >
> I have the sameconfig and it works ok exept the name of /initrd I 
> have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the problem?
> 

Yep, initrd should point to the real initrd or initramfs file in /boot  !

Aso, why is this double dash in /genkernel--x86_64 ? Is it not a mistyping by
any chance ?






--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-30 15:59 Dmitri Pogosyan
  2005-10-30 17:35 ` Karol Krizka
  2005-10-31  9:33 ` DR GM SEDDON
  0 siblings, 2 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-30 15:59 UTC (permalink / raw
  To: gentoo-amd64


> > I wondered, should /boot be ext2?  Or should I use some of the 'default'
> > entries?
> This is my line for the boot partition:
> /dev/hda1               /boot           auto            noauto,noatime,notail 
> 1 1
> It's reiserFS I think. I used "auto" because I wasn't sure what to type for 
> it.
> 
I have

/dev/sda1		/boot		ext3		noatime		1 1
/dev/sda2		/		reiserfs	noatime		0 0

and the rest are reiserfs. Do you, by the way, have reiserfs build into the
kernel or as a module ?


> -- 
> Karol Krizka



--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-30 15:59 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-30 15:59 UTC (permalink / raw
  To: gentoo-amd64


> > I wondered, should /boot be ext2?  Or should I use some of the 'default'
> > entries?
> This is my line for the boot partition:
> /dev/hda1               /boot           auto            noauto,noatime,notail 
> 1 1
> It's reiserFS I think. I used "auto" because I wasn't sure what to type for 
> it.
> 
I have

/dev/sda1		/boot		ext3		noatime		1 1
/dev/sda2		/		reiserfs	noatime		0 0

and the rest are reiserfs. Do you, by the way, have reiserfs build into the
kernel or as a module ?



-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-30 18:07 Dmitri Pogosyan
  2005-10-30 19:24 ` William Tetrault
  0 siblings, 1 reply; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-30 18:07 UTC (permalink / raw
  To: gentoo-amd64


> I've been using gentoo for 3 yrs now and using a grub.conf exactly as follows 
> for all that time.  It has <never> failed to work.  I did not create 
> the /boot dir with mkdir, that was done when I cp'd my bzImage 
> from /usr/src/linux/arch/x86_64/boot/bzImage to /boot, and I did it that way 
> because that's how the docs said to do it.
> 
> tbill@Shooter ~ $ cat /boot/grub/grub.conf
> default 0
> timeout 10
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> 
> title=Gentoo (linux kernel 2.6.11-gentoo-r10)
> root (hd0,0)
> kernel (hd0,0)/boot/bzImage root=/dev/sda1
> 
> If you, when you installed gentoo in the first place, placed /boot in its own 
> partition, then anything you copy to that partition is going to start with 
> "/boot...".  How else are you going to tell the kernel to copy something to 
> the boot partition when /boot is all you've mounted there?  If you, as root, 
> tell the system to mount the partition where you've installed grub.conf, how 
> else do you specify it except as "mount /boot".  I don't mean to belabor the 
> point, but....
> 
> So tell grub to look on "(hd0,0)/boot/bzImage" for the kernel to boot, 
> only,since you don't have a bzImage but a genkernel, change it accordingly: 
> (hd0,0)/boot/genkernel-*.  I assure you that this <does not> "stop your 
> system from booting fully."
> 
> Also, since you're getting error code 15, what you have in /etc/fstab is 
> completely immaterial.  Grub can't even find your kernel, and grub's interest 
> stops at finding the kernel, so take care of grub's errors first, then worry 
> about whether your fstab is properly set up.
> 

Actually, that reminds me that a year ago on amd64 architecture the compiled
grub did not work for me (it did compile but fail to boot) and I had
to use grub-static-0.93, which worked fine.  I looked now and see that
I still use this version of grub on all my amd64 machines. 



--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread
* Re: [gentoo-amd64] initrd
@ 2005-10-31  0:56 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-31  0:56 UTC (permalink / raw
  To: gentoo-amd64

It is not needed, I believe, with new kernels. Remnants from the earlier 
days, in my case. I am still mostly on 2.6.11 kernel with devfs, actually, 
and am used to combinations udev+nodevfs, devfs+noudev (which had quite 
magical interactions between themselves, BTW) 
 
 
> On Sat, 29 Oct 2005 14:21:52 +0100 
> DR GM SEDDON <gavin.m.seddon@manchester.ac.uk> wrote: 
>  
> > Dmitri Pogosyan wrote: 
> >  
> > >Not really, you can use initramfs in place of initrd. I have in 
> > >grub.conf  
> > >  
> > >title=Gentoo Linux 2.6.13-r3 UDEV  
> > >root (hd0,0)  
> > >kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 
> > >init=/linuxrc real_root=/dev/sda2 vga=3847 udev  
> > >initrd /initramfs-2.6.13-gentoo-r3  
>  
> I've notice that some ppl are putting udev on the kernel line.  I was 
> under the impression that this was not needed to get udev working? 
>  
> -- 
> bruce 
> --  
> gentoo-amd64@gentoo.org mailing list 
 
 
 
 
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2005-11-02 13:17 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 14:13 [gentoo-amd64] initrd DR GM SEDDON
2005-10-28 14:54 ` Mark Knecht
2005-10-28 15:27   ` [gentoo-amd64] initrd Duncan
2005-10-29 15:36 ` [gentoo-amd64] initrd Hemmann, Volker Armin
  -- strict thread matches above, loose matches on Subject: below --
2005-10-28 16:19 Dmitri Pogosyan
2005-10-29  6:12 ` Lee Thompson
2005-10-29 13:21 ` DR GM SEDDON
2005-10-29 13:29   ` Craig Webster
2005-10-29 14:16     ` DR GM SEDDON
2005-10-29 15:41       ` Karol Krizka
2005-10-30  9:48         ` DR GM SEDDON
2005-10-30 15:45           ` Karol Krizka
2005-10-30 17:38           ` William Tetrault
2005-10-29 16:40       ` Drake Donahue
2005-10-29 18:12         ` Drake Donahue
2005-10-29 17:15       ` William Tetrault
2005-10-31  1:23   ` bruce harding
2005-10-29 23:49 Dmitri Pogosyan
2005-10-29 23:54 Dmitri Pogosyan
2005-10-30 15:59 Dmitri Pogosyan
2005-10-30 17:35 ` Karol Krizka
2005-10-31  9:33 ` DR GM SEDDON
2005-10-30 15:59 Dmitri Pogosyan
2005-10-30 18:07 Dmitri Pogosyan
2005-10-30 19:24 ` William Tetrault
2005-10-30 20:32   ` Nuitari
2005-10-31  9:52     ` DR GM SEDDON
2005-10-31 13:43     ` DR GM SEDDON
2005-10-31 16:39       ` Drake Donahue
2005-11-01 14:45         ` DR GM SEDDON
2005-11-01 17:31           ` Drake Donahue
2005-11-01 18:06             ` Drake Donahue
2005-11-02 12:38             ` DR GM SEDDON
2005-11-02 13:14               ` Harm Geerts
2005-10-31  9:47   ` DR GM SEDDON
2005-10-31  0:56 Dmitri Pogosyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox