/srv/irclogs.ubuntu.com/2010/11/10/#ubuntu-installer.txt

Mjolinorcan anyone tell me what hte restricted drivers manager is called so that I can install it?07:53
Mjolinorjockey :)08:05
evI wonder if there's any value in doing some caching in the ubiquity build, specifically the keyboard maps generation.10:07
MjolinorI have / as /dev/sda1, is this set root=(hd0,1)11:03
MjolinorI cant make any sense at all out of the fiels in /etc/grub.d11:03
Mjolinoraccording to http://www.dedoimedo.com/computers/grub-2.html#mozTocId706228 that page11:04
cjwatsonprobably, but with multiple disks there's no guarantee that grub's disk ordering (hd0, hd1) corresponds to Linux's (sda, sdb), which is why there are also 'search' commands with UUIDs in there11:05
MjolinorI should hav ea line saying "set root=(hdX,Y) but there are nonoe in that file11:05
cjwatsonif you have an existing grub.cfg stanza referring to sda1, then copy bits out of that ...11:05
cjwatsonhttp://www.gnu.org/software/grub/manual/grub.html <- official manual including a configuration reference11:05
MjolinorI have messed with this new grub before and always gone back to the old one , it was so easy11:05
Mjolinorits really complicated now11:06
cjwatsonthat's not very motivating for me to help11:06
Mjolinorits getting much windows like with bloat and all is ubuntu11:06
cjwatsonthat's even less motivating11:06
Mjolinor:)11:06
Mjolinorsorry11:06
Mjolinorcrabby11:06
Mjolinormain problem is that I got the instal;l on last night adn started adding things like firefox etc but synaptic crashed installing firefox11:07
Mjolinorand since then nothign will run in  a stable mamnner at all, it jsut crashes randomly so if I start a command window it will jsut disappear at random and I have to open another11:07
Mjolinorreally frustrating11:07
Mjolinorso I thought I will start again, now that my new disk boots I will stick mini.iso on that and point grub at it11:08
cjwatsonI don't know what that would be - we only really deal with initial installation here, although as it happens I also do bootloader work so I ought to be able to help with that11:08
MjolinorI am jsut trying to get11:09
Mjolinor#!/bin/sh -e11:09
Mjolinorecho "newgrub"11:09
Mjolinorcat << EOF11:09
Mjolinormenuentry "Tinstaller" {11:09
Mjolinorset root=(hd0,1)11:09
Mjolinorlinux /mini/linux11:09
Mjolinorinitrd /mini/initrd.gz11:09
cjwatsondo you only have one disk in the machine right now, or do you still have the IDE disk there?11:09
Mjolinor}11:09
MjolinorEOF11:09
Mjolinorthat into the menus, as far as I have read that is correct but when I run grub update I dont get hte newgrub message11:09
MjolinorI disconnected the ide disk11:09
cjwatsonyou probably forgot to make that script executable.  chmod +x11:09
Mjolinorno11:09
Mjolinorit is executable11:10
cjwatsonwhere are you expecting that message to appear?11:10
Mjolinoreither my set root is wrong or there is soemthign else wrong with that file but I cant see anything11:10
cjwatsonthe way you've written it, it will go into the configuration file11:10
Mjolinorwhen I run update-grub11:10
cjwatsontry  echo "newgrub" >&211:10
cjwatsonalso, what did you call the file in /etc/grub.d/ ?11:10
Mjolinor15_installer11:10
cjwatsonok11:10
cjwatsonalso you know that you'll only get one shot at running the installer if you do it this way?  since once you partition it'll overwrite the installer11:11
Mjolinor?11:11
Mjolinorif I reboot you mean11:12
cjwatsonyou have the installer on a disk that you're planning to repartition and overwrite, as I understand it ...11:12
cjwatsonI meant what I said :-)11:12
MjolinorI wont reboot until I see that message when I run update_grub11:12
Mjolinorno11:12
MjolinorI am not planning to repartition, I am planning to overwrite on the same partition because I htink that some packages ahve not installed coorectly in the early days11:12
cjwatsonwell, same thing, the installation will reformat that partition which will remove /mini/linux and /mini/initrd.gz11:13
cjwatsonso you only get one shot11:13
Mjolinorand that is why things are crashing out in X11:13
Mjolinorno particular thing, jsut anythign I run is not stable11:13
Mjolinorit will not refpormat if I tell it not to11:13
cjwatsontrue, if you take special care in the partitioner then you can manage it11:13
Mjolinorit woudlnt format anyway last time, I had to preapre the aprtition before I ran the instlaler11:14
cjwatsonas long as you're aware that you need to11:14
cjwatsonanyway: try the change I suggested to your grub.d script11:14
Mjolinorand I ended up not using the amd64 as it woudlnt work, it get bombing out so I went back tot he normal 32 bit one, that installed first time11:14
Mjolinorthats an ikmprovement, at least it is reading the file for sure11:15
Mjolinorsyntax error :)11:15
cjwatson?11:16
Mjolinor#!/bin/sh -e11:16
Mjolinorecho "newgrub" > &211:16
Mjolinorcat << EOF11:16
Mjolinormenuentry "installer" {11:16
Mjolinorset root=(hd0,1)11:16
Mjolinorlinux /mini/linux11:16
Mjolinorinitrd /mini/initrd.gz11:16
Mjolinor}11:16
MjolinorEOF11:16
cjwatson>&211:16
cjwatsonnot > &211:16
cjwatsonimportant to copy exactly11:16
Mjolinor:)11:17
MjolinorI copied it from the web page, not your text11:17
Mjolinorhttp://www.dedoimedo.com/computers/grub-2.html#mozTocId70622811:17
Mjolinorthat web page11:17
Mjolinoranyway, it worked so reboot time11:17
cjwatsonBTW, you could just have added to the end of /etc/grub.d/40_custom and saved the effort of writing a script11:17
Mjolinorback in a bit, hopefully, thanks11:17
cjwatsonI'm afraid I can't control what third-party web pages advise - sometimes their advice isn't ideal11:18
MjolinorI thought that but I dont like to mess with the ones that are on if I dont know what I am doing11:18
Mjolinorwhich I usually dont11:18
cjwatson40_custom is explicitly there for you to edit11:18
Mjolinorfingers crooseed :)11:18
Mjolinorbye11:18
cjwatsonprecisely because it's easier than writing a new script11:18
Mjolinorthat worked :)11:23
Mjolinornow I will try to fix the crashing without re installing :)11:23
CIA-4grub-installer: cjwatson * r855 lucid-proposed/ (debian/changelog grub-installer):13:14
CIA-4grub-installer: Install GRUB to the SATA RAID or multipath device when /boot is on such13:14
CIA-4grub-installer: a device, rather than installing to the first hard disk (LP: #603854).13:14
CIA-4grub-installer: cjwatson * r856 lucid-proposed/debian/changelog: releasing version 1.49ubuntu11.113:32
=== robbiew is now known as robbiew-lunch

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!