tag:blogger.com,1999:blog-5188121942175615593.post2090853843722015663..comments2024-03-29T01:51:12.527+11:00Comments on Lindqvist -- a blog about Linux and Science. Mostly.: 70. Installing Debian on a USB stick -- live usb vs a true and full installationlindqvisthttp://www.blogger.com/profile/11525548328692436184noreply@blogger.comBlogger22125tag:blogger.com,1999:blog-5188121942175615593.post-43502860571987991172017-01-06T14:05:08.440+11:002017-01-06T14:05:08.440+11:00Ok i found the solution
I had to edit /boot/grub/...Ok i found the solution<br /><br />I had to edit /boot/grub/grub.cfg <br /><br />Actually, no matter is in the fstab, the grub conf had many entrances of /dev/sda1 that were disabling the boot from happening, as my usb key was recongnized as /dev/sdc1.<br />I dont know how to simplify the grub file so it has only the UUID of the key, but as its working now.. Anyway, i guess ill have to change whenever ill change computer too...<br />Whatevernoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-16062049138184126052017-01-06T12:13:32.683+11:002017-01-06T12:13:32.683+11:00Same problem here. Cltr f1 ou ctrl alt f1 isnt wor...Same problem here. Cltr f1 ou ctrl alt f1 isnt working. It just doesnt know how to access the partition.. Though have the right UUID and supergrub is alble to run the partitionWhateverhttps://www.blogger.com/profile/00551173405332413385noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-342925645069661292017-01-06T11:54:50.229+11:002017-01-06T11:54:50.229+11:00i have the same problem.
I can run the system usin...i have the same problem.<br />I can run the system using supergrub to run the partition but not with the system on the key alone.Whateverhttps://www.blogger.com/profile/00551173405332413385noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-46204990736119561622017-01-06T11:53:18.560+11:002017-01-06T11:53:18.560+11:00I get a blackscreen when i try to boot. I used sup...I get a blackscreen when i try to boot. I used supergrub to bot the partition and it worked. But as is, it is no capable of booting the linux partition. I have one ext4 as / and one swap. fstab is pretty much the same, i tried commenting some of the lines but nothing changes. In supergrub, the UUID is the exact same as in fstab. But without supergrub, impossible to run the system.. Help please... Whateverhttps://www.blogger.com/profile/00551173405332413385noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-45648359122134603552016-11-29T00:01:09.625+11:002016-11-29T00:01:09.625+11:00I had debian installed in my hdd before. It used t...I had debian installed in my hdd before. It used to work great, dual boot with windows 10. But I removed it a week ago, and wanted it on a usb, which is why I followed your post.<br /> <br />I mounted the usb with debian, tried inserting nomodeset in grub. Did not work. I am not sure this has something to do with nvidia.<br /> <br />The blank screen appears right after the bios boot logo. I shouldn't have said 'cursor', its a blinking prompt. Ctrl+Alt+F1 doesn't work either. In fact, nothing except for Ctrl+Alt+Del works on that blank screen.<br /> <br />Please advice. Thank you so much for responding.Jannoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-66519348263205127662016-11-27T23:10:36.782+11:002016-11-27T23:10:36.782+11:00My guess is that it's related to video card/dr...My guess is that it's related to video card/driver. If you have an nvidia card, make sure that nouveau is loaded and there's nothing interfering.<br />Does ctrl+alt+f1 work?lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-89383380686798599462016-11-27T23:02:38.148+11:002016-11-27T23:02:38.148+11:00I was following -> Installing debian (or any os...I was following -> Installing debian (or any os) on an external USB stick/drive using virtualboxJannoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-36590902416578474402016-11-27T23:00:18.177+11:002016-11-27T23:00:18.177+11:00I have been trying this for two days. I have done ...I have been trying this for two days. I have done everything as you posted. Everything including the postscript part, everything as you have posted. <br /><br />But when I try to boot the USB, I get a black screen with a blinking cursor. I tried mounting the USB on a live debian, I can access the files. But it just wont boot. Please please help. Thank you.Jannoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-76181341051136918862016-03-13T19:03:13.798+11:002016-03-13T19:03:13.798+11:00It works to me for 3.16 kernel, but if I try to in...It works to me for 3.16 kernel, but if I try to install 4.4 kernel from Debian Sid repository it doesn't boot :-/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-11044008280335245962015-12-28T11:28:58.586+11:002015-12-28T11:28:58.586+11:00Installing Debian 8 Jessie in VMware Workstation V...Installing Debian 8 Jessie in VMware Workstation Video Tutorial<br />http://bit.ly/1KgTLv9fikret tursakhttps://www.blogger.com/profile/08829566380860021812noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-41475091510419068962015-01-26T22:20:04.573+11:002015-01-26T22:20:04.573+11:00Good morning,
I'm from Brazil and my English ...Good morning,<br /><br />I'm from Brazil and my English isn't very good but I'd like ask you something. <br /><br />I installed the Debian 7 on my USB flash drive and it works perfectly only in one PC(used to install it). Why? It's wouldn't be like um OS portable? Please, send the answer to: danilo.lima89@yahoo.com<br /><br />Thank you very much<br /><br />DaniloAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-62235229755262271602014-10-19T19:38:41.580+11:002014-10-19T19:38:41.580+11:00Thanks for your comment! Feel free to steal, copy,...Thanks for your comment! Feel free to steal, copy, borrow, paraphrase the whoami text in part or wholesale.<br /><br />So, the VB approach. All your comments are valid. Personally, the main reason for looking at the VB/usb drive combination was to install debian on a headless server (and we're talking at 1U server with one of those directly attached flash memories. Since then, I've mainly used it as a way to install debian from a running system with internet access. It's been useful due to squeeze (deb 6.0) needing non-free drivers for some of my boxes, and because my employer requiring web-based login to get access to network services. I also can't afford to reboot my system very often since it's the gateway of my beowulf cluster and does a lot of the storage management. So I do think that installing from a running system using either VB (easy, but slow) or a chroot (requires a bit more familiarity with linux; http://verahill.blogspot.com.au/2013/03/361-installing-debian-on-usb-stick-from.html) can be justified.<br /><br />Finally, your comment re encrypting USB stick installations given the risk of losing them is an important one. I haven't yet written up how to do a fully encrypted install (nor have I explored how to do it), but it's something that people visiting this page should definitely consider looking into.lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-31474360632708645642014-10-19T16:42:23.585+11:002014-10-19T16:42:23.585+11:00Nice aproach ... Never got the idea to use virtual...Nice aproach ... Never got the idea to use virtualbox, but on the other other hand? Why? To me it seems much easier set up partitions and then use debootstrap to install a really neat, clean and customized system. And - as its mobile and you are in great risk of losing it - it ist very easy to be completely encrypted with cryptsetup. Just edit crypttab, fstab an after updating initram - here you are. <br /><br />As rescue disk, I always used sysresccd. Install takes a few minutes and if you can't save your ass with that - anything else would take you much longer to fail .... <br /><br />Actually, I just see one purpose for using Virtualbox. Years ago, I made a USB-Bootstick capable booting more than 10 linux distributions. And I used vb a lot to test the MBR. <br /><br />Anyway, I like your blog .... and even more your attitude. If you do not claim the copyright, maybe I steal some phrases of the whoami. Especially "I don't really feel a pressing need to post pictures of my latest meal, or posting inspired but uninspiring rants about the latest idiocies" - that made my day. <br /><br />Cheers to Canberra ... AG13 Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-57662468365331109372014-09-19T17:40:28.644+10:002014-09-19T17:40:28.644+10:00See response on http://verahill.blogspot.com.au/20...See response on http://verahill.blogspot.com.au/2013/03/361-installing-debian-on-usb-stick-from.html?showComment=1411112395034#c1487397267946155751lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-1834894722216362542014-09-18T10:15:14.128+10:002014-09-18T10:15:14.128+10:00Can I install other program into the OS which inst...Can I install other program into the OS which installed in USB stick?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-77177194782355882762014-08-29T23:58:05.506+10:002014-08-29T23:58:05.506+10:00Can it be done without virtual box?Can it be done without virtual box?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-31371692122699985032014-08-22T09:56:25.005+10:002014-08-22T09:56:25.005+10:00Thanks so much for this, was struggling for an hou...Thanks so much for this, was struggling for an hour before I saw this...phew!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-29563024000538104812014-01-10T09:22:51.555+11:002014-01-10T09:22:51.555+11:00Happy it worked out for you. As for your wireless ...Happy it worked out for you. As for your wireless card, it should be enough that you have the right drivers and firmware installed -- they should then be automatically loaded by udev when the hardware is present.<br />Note that some broadcom cards can be annoying e.g. http://verahill.blogspot.com.au/2013/09/508-very-very-briefly-why-apt-get-purge.htmllindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-86195970045409521892014-01-10T02:41:17.275+11:002014-01-10T02:41:17.275+11:00What a great technique!!!
I've been trying to ...What a great technique!!!<br />I've been trying to create a personalized self-booting USB rescue disk where I can add or remove software utilities as I need them. This works perfectly. It also introduced me to virtualbox which I had never used before. My next quest will be how to make the device recognize my laptop wireless card, at least for tinkering and tweaking the image. Thank you so much for this postPhilhttp://www.kermitplace.usnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-33262278649763389192013-05-22T10:46:21.255+10:002013-05-22T10:46:21.255+10:00Some people even try to change the .vdi format of ...Some people even try to change the .vdi format of Virtualbox to RAW format for a flash drive to install Debian on it..... It is old(tested on lenny which is no longer supported) but it may run on newer debian releases like wheezy.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-6234378871140259242013-01-22T22:07:13.317+11:002013-01-22T22:07:13.317+11:00I presume that you've install the virtualbox e...I presume that you've install the virtualbox extension pack and have selected the USB device (settings/usb/add filter)?<br /><br />Google also suggest reading this: https://forums.virtualbox.org/viewtopic.php?f=2&t=47250lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-31490062023404974122013-01-22T18:58:09.709+11:002013-01-22T18:58:09.709+11:00I am trying to do same thing with VirtualBox runni...I am trying to do same thing with VirtualBox running on Win7. Debian 6.0 installation starts from iso file but it does not see the installation drive (the USB stick) :(. Any commentsjer5eyhttps://www.blogger.com/profile/17764146872556965022noreply@blogger.com