Sponsored Content
Operating Systems Linux Ubuntu Ubuntu on bootable thumbdrive Post 302549072 by stumpyuk on Sunday 21st of August 2011 07:50:26 AM
Old 08-21-2011
Ubuntu on bootable thumbdrive

I have created a bootable thumbdrive containing Ubuntu 10.04. It works fine, but has one minor issue. When I boot a system, it writes a new fstab relevant to that system. That fstab persists, so that if I boot another system the "old" fstab is read and the O/S tries to mount filesystems that don't exist on the current system. Obviously I can just hit the "S" key at boot to skip that mounting, but I would like a more elegant solution. I think that executing a script to re-write my fstab with just a single line for to mount /proc will be fine. Currently, I do this manually just before shutting down. I have read about startup and shutdown scripts, but the literature that I have read indicates that those scripts are used for starting and stopping services. My questions are therefore:
Is is appropriate to use the shutdown scripts to execute a script for re-writing my fstab?
At what run-level shoud I run that script (runlevel 0?)
Should it be a K script or a S script?

Thanks in advance

Stumpy
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can't detect usb thumbdrive anymore

hey everyone! i have a Solaris 8 box with me, and i had been using my usb thrumbdrive on it all the time. one day, i was in a rush and i pulled out the thumbdrive without ejecting it or anything. and now i can't detect any thumbdrives at all. i had tried using another thumbdrive, but with no... (2 Replies)
Discussion started by: feef
2 Replies

2. Filesystems, Disks and Memory

Make non-bootable scsi drive, bootable

In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible: 1) Make the non-bootable scsi drive bootable? How? 2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive? I seek... (1 Reply)
Discussion started by: bfisk
1 Replies

3. UNIX for Dummies Questions & Answers

Mounting a ThumbDrive

When I try to mount a thumb drive on a Monta Vista Linux 3.1 Embedded System I get an Error. When I plug in the USB Drive I get this message: # hub.c: new USB device CYEZ-Host-1, assigned address 2 scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Memorex Model: Mini TravelDrive... (2 Replies)
Discussion started by: NewLinuxUser33
2 Replies

4. Ubuntu

rdiff-backup using escape codes on vfat thumbdrive

I thought it may be nice to use rdiff-backup to backup my websites to a thumb drive. But all the capital letters are substituted with octal escape codes. How can I over come this? There are no issues backing up to another ext3 drive. The source drive is ext3 the thumb drive is vfat mounted... (0 Replies)
Discussion started by: mikemc
0 Replies

5. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

6. Solaris

unable to use thumbdrive in Solaris 10

hi friends, i had this problem in a Solaris 10 server when i inserted my thumbdrive, i can't find the device file containing usb. what should i do ? (2 Replies)
Discussion started by: Exposure
2 Replies

7. Hardware

Bootable thumbdrive

Hi all! I trying to modify my bootable thumbdrive to be seen in window OS when i plug in. I did a FAT32 partition for it but it seem like! "windows only recognizes the first primary partition on a removable device" My 1st partition is my Ubuntu OS partition ext4, is there a way to go about... (4 Replies)
Discussion started by: GQiang
4 Replies
pmerge(8)						      System Manager's Manual							 pmerge(8)

NAME
pmerge - Builds a network bootable kernel. SYNOPSIS
/usr/sys/bin/pmerge bootfile kernel.name new.kernel DESCRIPTION
The kernel, vmunix, is not bootable over the network. The pmerge utility prepends the bootfile onto the kernel image (kernel.name) to cre- ate a new operating system image (new.kernel) that is bootable over the network. Instead of a booting a network loadable kernel, it is sometimes desired to bootstrap link a kernel over the network. In this case, (ker- nel.name) is the name of the sysconfigtab file on the server containing the list of modules to be loaded to the client. These modules are then linked to create a bootable kernel on the client. The pmerge utility is used by doconfig(8) to create a bootable operating system for dataless management services (DMS) client systems to boot over the network. The pmerge utility is automatically invoked by doconfig(8) during the kernel build process and should not be invoked independently. The pmerge utility is located in /var/adm/dms/dmsn.alpha/root/usr/sys/bin on the DMS server. SEE ALSO
Commands: dmu(8), doconfig(8) Sharing Software on a Local Area Network pmerge(8)
All times are GMT -4. The time now is 04:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy