* [gentoo-user] usb HD cannot boot without initramfs @ 2009-12-17 7:47 Xi Shen 2009-12-17 8:01 ` Alan McKinnon 2009-12-17 14:22 ` Willie Wong 0 siblings, 2 replies; 15+ messages in thread From: Xi Shen @ 2009-12-17 7:47 UTC (permalink / raw To: gentoo-china, gentoo-user hi, i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, ata drivers into the kernel. but when boot, the system still cannot find my usb hd, but it did find my hd on my laptop. what i missed? -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 7:47 [gentoo-user] usb HD cannot boot without initramfs Xi Shen @ 2009-12-17 8:01 ` Alan McKinnon 2009-12-17 10:10 ` Xi Shen 2009-12-17 14:22 ` Willie Wong 1 sibling, 1 reply; 15+ messages in thread From: Alan McKinnon @ 2009-12-17 8:01 UTC (permalink / raw To: gentoo-user On Thursday 17 December 2009 09:47:14 Xi Shen wrote: > hi, > > i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, > ata drivers into the kernel. but when boot, the system still cannot > find my usb hd, but it did find my hd on my laptop. what i missed? > You missed the filesystem driver for / compiled into the kernel -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 8:01 ` Alan McKinnon @ 2009-12-17 10:10 ` Xi Shen 2009-12-17 14:36 ` Steffen Loos 2009-12-17 15:14 ` Dale 0 siblings, 2 replies; 15+ messages in thread From: Xi Shen @ 2009-12-17 10:10 UTC (permalink / raw To: gentoo-user sorry, could you be more specific? i cannot follow you ;) On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > On Thursday 17 December 2009 09:47:14 Xi Shen wrote: >> hi, >> >> i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, >> ata drivers into the kernel. but when boot, the system still cannot >> find my usb hd, but it did find my hd on my laptop. what i missed? >> > > You missed the filesystem driver for / compiled into the kernel > > -- > alan dot mckinnon at gmail dot com > > -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 10:10 ` Xi Shen @ 2009-12-17 14:36 ` Steffen Loos 2009-12-18 1:14 ` Xi Shen 2009-12-17 15:14 ` Dale 1 sibling, 1 reply; 15+ messages in thread From: Steffen Loos @ 2009-12-17 14:36 UTC (permalink / raw To: gentoo-user Xi Shen schrieb: > sorry, could you be more specific? i cannot follow you ;) > > > On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote: >> On Thursday 17 December 2009 09:47:14 Xi Shen wrote: >>> hi, >>> >>> i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, >>> ata drivers into the kernel. but when boot, the system still cannot >>> find my usb hd, but it did find my hd on my laptop. what i missed? >>> >> You missed the filesystem driver for / compiled into the kernel 1. please don't toppost! 2. What alan said: have you compiled ext4 or whatever you use for your root-fs compiled _into_ the kernel? 3. Suggestion from me: have you _all_ usb-staff, you need to access the usb-hd compiled _into_ the kernel? (e.a. usb_storage) not as module! Steffen ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 14:36 ` Steffen Loos @ 2009-12-18 1:14 ` Xi Shen 2009-12-18 1:33 ` Bruce Hill 0 siblings, 1 reply; 15+ messages in thread From: Xi Shen @ 2009-12-18 1:14 UTC (permalink / raw To: gentoo-user On Thu, Dec 17, 2009 at 10:36 PM, Steffen Loos <fenlo@gmx.net> wrote: > Xi Shen schrieb: >> >> sorry, could you be more specific? i cannot follow you ;) >> >> >> On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon <alan.mckinnon@gmail.com> >> wrote: >>> >>> On Thursday 17 December 2009 09:47:14 Xi Shen wrote: >>>> >>>> hi, >>>> >>>> i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, >>>> ata drivers into the kernel. but when boot, the system still cannot >>>> find my usb hd, but it did find my hd on my laptop. what i missed? >>>> >>> You missed the filesystem driver for / compiled into the kernel > > 1. please don't toppost! ok. but it looks like the gmail web client encourage top post ;) > 2. What alan said: have you compiled ext4 or whatever you use for your > root-fs compiled _into_ the kernel? yes, i use ext4 and it is compiled into the kernel. > 3. Suggestion from me: have you _all_ usb-staff, you need to access the > usb-hd compiled _into_ the kernel? (e.a. usb_storage) not as module! i compiled the uhci and ehci into the kernel. i need to double check the usb_storage thing. maybe this is the thing i missed. > > > Steffen > > -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-18 1:14 ` Xi Shen @ 2009-12-18 1:33 ` Bruce Hill 2009-12-19 0:27 ` Kyle Bader 0 siblings, 1 reply; 15+ messages in thread From: Bruce Hill @ 2009-12-18 1:33 UTC (permalink / raw To: gentoo-user On Fri, Dec 18, 2009 at 09:14:48AM +0800, Xi Shen wrote: > ok. but it looks like the gmail web client encourage top post ;) That doesn't make it easy to read. This is how we see it when you top-post: A: Because you are doing it wrong. > >> On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon <alan.mckinnon@gmail.com> > >> wrote: then you didn't trim other junk that is irrelevant. Q. Why is my mouse eating all the cheese when I configured it "no cheese"? > i compiled the uhci and ehci into the kernel. i need to double check > the usb_storage thing. maybe this is the thing i missed. UHCI is for Intel and VIA ... OHCI for others (these are both USB 1.0{1} EHCI is for all USB 2.0 Make sure you have the correct UHCI/OHCI ... you only need one of those. -- "Experience is a hard teacher because she gives the test first, the lesson afterward. But properly learned, the lesson forever changes the man." ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-18 1:33 ` Bruce Hill @ 2009-12-19 0:27 ` Kyle Bader 2009-12-19 0:39 ` Robert Bridge 0 siblings, 1 reply; 15+ messages in thread From: Kyle Bader @ 2009-12-19 0:27 UTC (permalink / raw To: gentoo-user Scsi support maybe? On 12/17/09, Bruce Hill <bruce@slackwarebox.com> wrote: > On Fri, Dec 18, 2009 at 09:14:48AM +0800, Xi Shen wrote: >> ok. but it looks like the gmail web client encourage top post ;) > > That doesn't make it easy to read. This is how we see it when you top-post: > > A: Because you are doing it wrong. > >> >> On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon >> >> <alan.mckinnon@gmail.com> >> >> wrote: > > then you didn't trim other junk that is irrelevant. > > Q. Why is my mouse eating all the cheese when I configured it "no cheese"? > >> i compiled the uhci and ehci into the kernel. i need to double check >> the usb_storage thing. maybe this is the thing i missed. > > UHCI is for Intel and VIA ... OHCI for others (these are both USB 1.0{1} > EHCI is for all USB 2.0 > > Make sure you have the correct UHCI/OHCI ... you only need one of those. > -- > "Experience is a hard teacher because she gives the test first, the > lesson afterward. But properly learned, the lesson forever changes > the man." > > -- Sent from my mobile device Kyle ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-19 0:27 ` Kyle Bader @ 2009-12-19 0:39 ` Robert Bridge 2009-12-19 1:52 ` Marcus Wanner 2009-12-19 1:59 ` Kyle Bader 0 siblings, 2 replies; 15+ messages in thread From: Robert Bridge @ 2009-12-19 0:39 UTC (permalink / raw To: gentoo-user Try passing a rootdelay option to the kernel to allow the kernels USB probe to complete before it tries to mount the USB device. e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-19 0:39 ` Robert Bridge @ 2009-12-19 1:52 ` Marcus Wanner 2009-12-19 1:59 ` Kyle Bader 1 sibling, 0 replies; 15+ messages in thread From: Marcus Wanner @ 2009-12-19 1:52 UTC (permalink / raw To: gentoo-user On 12/18/2009 7:39 PM, Robert Bridge wrote: > Try passing a rootdelay option to the kernel to allow the kernels USB > probe to complete before it tries to mount the USB device. > > e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub > 30 seconds is a bit much, IMHO. USB probes in my experience never take more than 5. Marcus ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-19 0:39 ` Robert Bridge 2009-12-19 1:52 ` Marcus Wanner @ 2009-12-19 1:59 ` Kyle Bader 2009-12-19 4:08 ` Robert Bridge 1 sibling, 1 reply; 15+ messages in thread From: Kyle Bader @ 2009-12-19 1:59 UTC (permalink / raw To: gentoo-user Is it rootdelay or scandelay? On 12/18/09, Robert Bridge <robert@robbieab.com> wrote: > Try passing a rootdelay option to the kernel to allow the kernels USB > probe to complete before it tries to mount the USB device. > > e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub > > -- Sent from my mobile device Kyle ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-19 1:59 ` Kyle Bader @ 2009-12-19 4:08 ` Robert Bridge 2009-12-19 14:55 ` Xi Shen 0 siblings, 1 reply; 15+ messages in thread From: Robert Bridge @ 2009-12-19 4:08 UTC (permalink / raw To: gentoo-user On Sat, Dec 19, 2009 at 1:59 AM, Kyle Bader <kyle.bader@gmail.com> wrote: > Is it rootdelay or scandelay? rootdelay according to the stuff I found online. It's a delay to the mounting of the root file-system. And regarding 30s, I picked that on the basis of better too long than too short. I had similar problems at one point, and found anything less than 10 was unreliable, and even at 10 it would occasionally fail. ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-19 4:08 ` Robert Bridge @ 2009-12-19 14:55 ` Xi Shen 0 siblings, 0 replies; 15+ messages in thread From: Xi Shen @ 2009-12-19 14:55 UTC (permalink / raw To: gentoo-user thanks you all. rootdelay=10 is what i need. On Sat, Dec 19, 2009 at 12:08 PM, Robert Bridge <robert@robbieab.com> wrote: > On Sat, Dec 19, 2009 at 1:59 AM, Kyle Bader <kyle.bader@gmail.com> wrote: >> Is it rootdelay or scandelay? > > rootdelay according to the stuff I found online. It's a delay to the > mounting of the root file-system. > > And regarding 30s, I picked that on the basis of better too long than > too short. I had similar problems at one point, and found anything > less than 10 was unreliable, and even at 10 it would occasionally > fail. > > -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 10:10 ` Xi Shen 2009-12-17 14:36 ` Steffen Loos @ 2009-12-17 15:14 ` Dale 1 sibling, 0 replies; 15+ messages in thread From: Dale @ 2009-12-17 15:14 UTC (permalink / raw To: gentoo-user What file system did you use on the USB drive? Did you compile support for that file system in the kernel? It can't be a module, it has to be compiled into the kernel itself. Dale P. S. Top posted because he did. Please don't shoot the messenger. Xi Shen wrote: > sorry, could you be more specific? i cannot follow you ;) > > > On Thu, Dec 17, 2009 at 4:01 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote: > >> On Thursday 17 December 2009 09:47:14 Xi Shen wrote: >> >>> hi, >>> >>> i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, >>> ata drivers into the kernel. but when boot, the system still cannot >>> find my usb hd, but it did find my hd on my laptop. what i missed? >>> >>> >> You missed the filesystem driver for / compiled into the kernel >> >> -- >> alan dot mckinnon at gmail dot com >> >> >> > > > > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 7:47 [gentoo-user] usb HD cannot boot without initramfs Xi Shen 2009-12-17 8:01 ` Alan McKinnon @ 2009-12-17 14:22 ` Willie Wong 2009-12-18 1:11 ` Xi Shen 1 sibling, 1 reply; 15+ messages in thread From: Willie Wong @ 2009-12-17 14:22 UTC (permalink / raw To: gentoo-user On Thu, Dec 17, 2009 at 03:47:14PM +0800, Penguin Lover Xi Shen squawked: > i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, > ata drivers into the kernel. but when boot, the system still cannot > find my usb hd, but it did find my hd on my laptop. what i missed? I don't completely understand your question: if it cannot find your usb hd and you installed on the usb HD, how did you boot? Did you install the bootloader on the USB HD? Did you get to the bootloader screen at all? What cannot find your USB HD? Tell us in more detail what you did, and what didn't work. Your description is so vague that for all I know cosmic rays could've caused your problem. W -- "`I think you ought to know that I'm feeling very depressed.'" "`Life, don't talk to me about life.'" "`Here I am, brain the size of a planet and they ask me to take you down to the bridge. Call that "job satisfaction"? 'Cos I don't.'" "`I've got this terrible pain in all the diodes down my left side.'" - Guess who. Sortir en Pantoufles: up 1105 days, 13:11 ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] usb HD cannot boot without initramfs 2009-12-17 14:22 ` Willie Wong @ 2009-12-18 1:11 ` Xi Shen 0 siblings, 0 replies; 15+ messages in thread From: Xi Shen @ 2009-12-18 1:11 UTC (permalink / raw To: gentoo-user On Thu, Dec 17, 2009 at 10:22 PM, Willie Wong <wwong@math.princeton.edu> wrote: > On Thu, Dec 17, 2009 at 03:47:14PM +0800, Penguin Lover Xi Shen squawked: >> i installed my gentoo on a usb HD disk, and i have compiled scsi, usb, >> ata drivers into the kernel. but when boot, the system still cannot >> find my usb hd, but it did find my hd on my laptop. what i missed? > > I don't completely understand your question: if it cannot find your > usb hd and you installed on the usb HD, how did you boot? > i boot from the livedvd, and installed it on my usb hd. and the system can boot normally if i use genkernel, i think it is because the initramfs generated by genkernel loaded something that i missed. > Did you install the bootloader on the USB HD? yes, i use grub. > Did you get to the bootloader screen at all? yes, i can see the screen, and the kernel load log. but the system dies when trying to mount the root and start the system. > What cannot find your USB HD? > > Tell us in more detail what you did, and what didn't work. Your > description is so vague that for all I know cosmic rays could've > caused your problem. > > W > -- > "`I think you ought to know that I'm feeling very > depressed.'" > "`Life, don't talk to me about life.'" > "`Here I am, brain the size of a planet and they ask me to > take you down to the bridge. Call that "job satisfaction"? > 'Cos I don't.'" > "`I've got this terrible pain in all the diodes down my > left side.'" > > - Guess who. > Sortir en Pantoufles: up 1105 days, 13:11 > > -- Best Regards, David Shen http://twitter.com/davidshen84/ http://meme.yahoo.com/davidshen84/ ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2009-12-19 14:56 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-12-17 7:47 [gentoo-user] usb HD cannot boot without initramfs Xi Shen 2009-12-17 8:01 ` Alan McKinnon 2009-12-17 10:10 ` Xi Shen 2009-12-17 14:36 ` Steffen Loos 2009-12-18 1:14 ` Xi Shen 2009-12-18 1:33 ` Bruce Hill 2009-12-19 0:27 ` Kyle Bader 2009-12-19 0:39 ` Robert Bridge 2009-12-19 1:52 ` Marcus Wanner 2009-12-19 1:59 ` Kyle Bader 2009-12-19 4:08 ` Robert Bridge 2009-12-19 14:55 ` Xi Shen 2009-12-17 15:14 ` Dale 2009-12-17 14:22 ` Willie Wong 2009-12-18 1:11 ` Xi Shen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox