=== Keybuk [n=scott@descent.netsplit.com] has joined #ubuntu-boot [08:07] morning Keybuk [08:08] Keybuk: i think i have got most of the grub-install work done [08:08] for boot-from-usb [08:08] at least it is in my head :) === lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-boot [08:14] kewl, not too hard? [08:15] Keybuk: the grub-installer code is quite linear [08:15] i know what to look for, but i need to find the best place where to add my code [08:15] *nods* [08:59] meh, I neeed to get sysvinit uploaded today [08:59] just to get it out of the way [08:59] hateful thing [09:06] http://people.ubuntu.com/~fabbione/grub-installer.diff [09:06] this should doi [09:06] this should do [09:06] of course needs testing [09:09] actually [09:12] + # check if the device we got is a symlink. That might happen in future [09:12] + # if we implement probe-for-root-fs [09:12] + if [ -L "$removablepartition" ] ; then [09:12] + removablepartition="$(readlink $removablepartition)" [09:12] + fi [09:12] you will love this :) [09:18] cool === lbm [n=lbm@cpe.atm4-0-1301006.0x50a0824e.vgnxx6.customer.tele.dk] has joined #ubuntu-boot [10:45] almost there :))) [10:46] Keybuk: i need udev to load usb-storage [10:46] otherwise it doesn't work for real [10:47] did you add that udev rule I suggested? [10:47] uh, sorry, udevplug commands [10:48] oh.. hmmm i forgot about that [10:48] what was it? [10:48] hang on, will just upload the udev with it [10:48] ok thanks :) [10:48] i can live without for a few hundred reboots :) [10:48] the changes to grub-installer are not 100% working [10:49] they did recognize that the device was removable [10:49] but didn't set the proper bootdev [10:54] ohhh === fabbione kicks himself [10:59] fabbione: uploaded [11:00] Keybuk: cool [11:18] Keybuk: problem... [11:19] cat /sys/block/sda/removable [11:19] 0 [11:19] this is on a USB harddisk [11:19] cat /sys/block/hda/removable [11:19] 0 [11:19] this is on the IDE hd [11:19] same box... [11:19] how am i supposed to know that it is removable? [11:20] dunno [11:21] udev won't think those are removable either [11:21] how can hda be removable? [11:22] sda can be [11:22] sda can be, but not hda, unless I'm going mad [11:22] /dev/i2o/hda on the other hand.. [11:23] hda is not removable [11:23] i know for a fact that sda is [11:23] and probing removable as you told me don't work [11:23] "Probe for PCI, ISA, PCMCIA, etc. brides,". I wonder what a PCI bride looks like. ;-) [11:24] fabbione: are you sure sda is? [11:24] reallly removable/ [11:24] remember, scsi chained out of the back of a scsi card isn't removable [11:24] that's just scsi [11:24] removable is USB, etc. [11:24] Keybuk: it's a IDE harddisk in a USB external envelope [11:24] so it's usb-storage? [11:24] yes [11:24] usb-storage [11:24] seen as scsi [11:24] so removable [11:25] readlink /sys/block/sda/device [11:25] ../../devices/pci0000:00/0000:00:1d.7/usb4/4-5/4-5:1.0/host2/target2:0:0/2:0:0:0 [11:26] interestingh [11:26] bug BenC :) === fabbione is not happy about this [11:29] "iz kernel bug" [11:32] it means i can't test :) [11:34] well i can.. === fabbione forces [11:38] interesting enough.. it does recognize my USB stick as removable [11:39] could be a function of the drive itself [11:39] it might be being clever and going "it may be a removable case, but it's a standard IDE drive" or something [11:43] well modulo the drive or whatever, the code works just fine [11:48] Keybuk: http://people.ubuntu.com/~fabbione/grub-installer.diff <- tell me if it looks sane :) [11:48] i am still going to wait for Kamion to look at it [11:48] but 3 pairs of eyes better than just mine :) [11:49] seems sane === jbailey [n=jbailey@modemcable139.249-203-24.mc.videotron.ca] has left #ubuntu-boot ["Leaving"] [02:19] Keybuk: udev still doesn't work [02:19] it's enough i run manually a udevplug and it will load the stuff for sda [02:57] oh actually.. [02:57] yes it is broken === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-boot [04:35] fabbione: oh, interesting === ..[topic/#ubuntu-boot:Keybuk] : known: few network pluggings (ask infinity), alsa rules not reloaded || fixed: notify-reboot, vio_type segfault, no modules loaded, hal/pcmcia rules not reloaded, nfs root fails, sata root fails, pnp devices not loaded, init stop/start, grepmap bitching, fb drivers loaded, installer "devfs" rules, ide-generic beats sata drivers, oss drivers loaded, mtab not updated, /dev/pts not mounted